From 9a2bd0328a087704c00bf96a4ee4007ecb3b5d67 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 15 Oct 2024 17:20:58 +0200 Subject: [PATCH 1/2] python312Packages.mdformat: 0.7.17 -> 0.7.18 Diff: https://github.com/executablebooks/mdformat/compare/refs/tags/0.7.17...0.7.18 Changelog: https://github.com/executablebooks/mdformat/blob/0.7.18/docs/users/changelog.md --- pkgs/development/python-modules/mdformat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mdformat/default.nix b/pkgs/development/python-modules/mdformat/default.nix index 28df80388d87..6cfd287304a6 100644 --- a/pkgs/development/python-modules/mdformat/default.nix +++ b/pkgs/development/python-modules/mdformat/default.nix @@ -12,7 +12,7 @@ buildPythonPackage rec { pname = "mdformat"; - version = "0.7.17"; + version = "0.7.18"; pyproject = true; disabled = pythonOlder "3.8"; @@ -21,7 +21,7 @@ buildPythonPackage rec { owner = "executablebooks"; repo = "mdformat"; rev = "refs/tags/${version}"; - hash = "sha256-umtfbhN6sDR/rFr1LwmJ21Ph9bK1Qq43bmMVzGCPD5s="; + hash = "sha256-t2yx8cIq8es3XOc2nbHPKjUUium5+RPZuD8oNWZxVV0="; }; nativeBuildInputs = [ setuptools ]; From f4efef839f9bce5d15c4ae875c62c9bcb6ba4f8e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 15 Oct 2024 17:21:59 +0200 Subject: [PATCH 2/2] python312Packages.mdformat: refactor --- pkgs/development/python-modules/mdformat/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/mdformat/default.nix b/pkgs/development/python-modules/mdformat/default.nix index 6cfd287304a6..29f62b9f6893 100644 --- a/pkgs/development/python-modules/mdformat/default.nix +++ b/pkgs/development/python-modules/mdformat/default.nix @@ -24,9 +24,9 @@ buildPythonPackage rec { hash = "sha256-t2yx8cIq8es3XOc2nbHPKjUUium5+RPZuD8oNWZxVV0="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; - propagatedBuildInputs = + dependencies = [ markdown-it-py ] ++ lib.optionals (pythonOlder "3.11") [ tomli ] ++ lib.optionals (pythonOlder "3.10") [ importlib-metadata ];