Merge pull request #223159 from fabaff/dpath-bump

python310Packages.dpath: 2.1.4 -> 2.1.5
This commit is contained in:
Fabian Affolter 2023-03-29 12:03:32 +02:00 committed by GitHub
commit 4a643e8e3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];
};