diff --git a/pkgs/development/python-modules/dpath/default.nix b/pkgs/development/python-modules/dpath/default.nix index 6c1d142fccc1..b41ec29a41ab 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 ]; };