diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 09:41:57 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2024-05-03 09:41:57 +0200 |
commit | 4fc84a24b86a6f02b54a37fc858436cc747b6e8b (patch) | |
tree | 9ddfaedea13fba8996c2db5eca127a3f178171cb /pkgs/development/python-modules | |
parent | 9a5153d1bf7782bae1efb7981e0ab3c54c532e1f (diff) |
python312Packages.puremagic: refactor
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/puremagic/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/puremagic/default.nix b/pkgs/development/python-modules/puremagic/default.nix index 72f0dfc4dde75..aee0801a8e539 100644 --- a/pkgs/development/python-modules/puremagic/default.nix +++ b/pkgs/development/python-modules/puremagic/default.nix @@ -3,22 +3,27 @@ , fetchFromGitHub , pytestCheckHook , pythonOlder +, setuptools }: buildPythonPackage rec { pname = "puremagic"; version = "1.21"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "cdgriffith"; - repo = pname; + repo = "puremagic"; rev = "refs/tags/${version}"; hash = "sha256-ObJp3+gk1tf1+9wBpvzs0wwP7ptDlfGwX9b4wlCb1RI="; }; + build-system = [ + setuptools + ]; + nativeCheckInputs = [ pytestCheckHook ]; |