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