diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2023-03-29 12:03:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-29 12:03:32 +0200 |
commit | 4a643e8e3d6f1391d79c4180b19b22ff849085a4 (patch) | |
tree | 4021e61d4c9709fe4892c0234387e1c06dec2033 | |
parent | 123a98fc9dbfbb4a15da2fe1c9a22c8c4087bc7f (diff) | |
parent | 28182088aaa3ad593b838b1e9a9f42dc90da9fff (diff) |
Merge pull request #223159 from fabaff/dpath-bump
python310Packages.dpath: 2.1.4 -> 2.1.5
-rw-r--r-- | pkgs/development/python-modules/dpath/default.nix | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/dpath/default.nix b/pkgs/development/python-modules/dpath/default.nix index 6c1d142fccc1f..b41ec29a41ab0 100644 --- a/pkgs/development/python-modules/dpath/default.nix +++ b/pkgs/development/python-modules/dpath/default.nix @@ -2,24 +2,29 @@ , buildPythonPackage , fetchPypi , hypothesis -, isPy27 +, pythonOlder , mock , nose2 , pytestCheckHook +, setuptools }: buildPythonPackage rec { pname = "dpath"; - version = "2.1.4"; + version = "2.1.5"; + format = "setuptools"; - disabled = isPy27; # uses python3 imports + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-M4CnfQ20q/EEElhg/260vQfJfGW4Gq1CpglxcImhvtA="; + hash = "sha256-zNlk24ObqtSqggYStLhzGwn0CiRdQBtyMVbOTvRbIrc="; }; - # use pytest as nosetests hangs + nativeBuildInputs = [ + setuptools + ]; + nativeCheckInputs = [ hypothesis mock @@ -27,11 +32,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "dpath" ]; + pythonImportsCheck = [ + "dpath" + ]; meta = with lib; { description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath"; homepage = "https://github.com/akesterson/dpath-python"; + changelog = "https://github.com/dpath-maintainers/dpath-python/releases/tag/v${version}"; license = with licenses; [ mit ]; maintainers = with maintainers; [ mmlb ]; }; |