diff options
Diffstat (limited to 'pkgs/development/python-modules/ds-store')
-rw-r--r-- | pkgs/development/python-modules/ds-store/default.nix | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/ds-store/default.nix b/pkgs/development/python-modules/ds-store/default.nix index 5afa341942e98..47d58964f4751 100644 --- a/pkgs/development/python-modules/ds-store/default.nix +++ b/pkgs/development/python-modules/ds-store/default.nix @@ -3,24 +3,39 @@ , fetchFromGitHub , mac_alias , pytestCheckHook +, pythonOlder +, setuptools }: buildPythonPackage rec { - pname = "ds_store"; - version = "1.3.0"; + pname = "ds-store"; + version = "1.3.1"; + format = "pyproject"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "al45tair"; - repo = pname; - rev = "v${version}"; - sha256 = "1zmhnz110dvisydp5h6s0ry2v9qf4rgr60xhhlak0c66zpvlkkl0"; + repo = "ds_store"; + rev = "refs/tags/v${version}"; + hash = "sha256-45lmkE61uXVCBUMyVVzowTJoALY1m9JI68s7Yb0vCks="; }; - propagatedBuildInputs = [ mac_alias ]; + nativeBuildInputs = [ + setuptools + ]; + + propagatedBuildInputs = [ + mac_alias + ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ]; - pythonImportsCheck = [ "ds_store" ]; + pythonImportsCheck = [ + "ds_store" + ]; meta = with lib; { homepage = "https://github.com/al45tair/ds_store"; |