mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
Merge pull request #223159 from fabaff/dpath-bump
python310Packages.dpath: 2.1.4 -> 2.1.5
This commit is contained in:
commit
4a643e8e3d
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user