python3Packages.mdformat: 0.7.9 -> 0.7.10

This commit is contained in:
Fabian Affolter 2021-09-18 17:11:04 +02:00
parent 29cbcc0dab
commit 6d81313dd3

View file

@ -6,20 +6,22 @@
, poetry-core , poetry-core
, pytestCheckHook , pytestCheckHook
, pythonOlder , pythonOlder
, tomli
, typing-extensions , typing-extensions
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "mdformat"; pname = "mdformat";
version = "0.7.9"; version = "0.7.10";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "executablebooks"; owner = "executablebooks";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "sha256-qGRZCDo/ACSXtJa4omepjaR0KNWeR4vvvUUbQpKlrtI="; sha256 = "sha256-Zw7ZGV/Hd0MRxxQVwkjtE6MJXNLQ0A0PJlQr4x9h2ww=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -28,6 +30,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ propagatedBuildInputs = [
markdown-it-py markdown-it-py
tomli
] ++ lib.optionals (pythonOlder "3.10") [ ] ++ lib.optionals (pythonOlder "3.10") [
importlib-metadata importlib-metadata
] ++ lib.optionals (pythonOlder "3.7") [ ] ++ lib.optionals (pythonOlder "3.7") [