python3Packages.dpath: 2.0.1 -> 2.0.2

This commit is contained in:
Fabian Affolter 2021-09-03 08:27:42 +02:00
parent e4f82b3722
commit e4c99a0008

View File

@ -1,24 +1,38 @@
{ lib, fetchPypi, buildPythonPackage, isPy27 { lib
, mock, pytestCheckHook, nose, hypothesis , buildPythonPackage
, fetchPypi
, hypothesis
, isPy27
, mock
, nose
, pytestCheckHook
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "dpath"; pname = "dpath";
version = "2.0.1"; version = "2.0.2";
disabled = isPy27; # uses python3 imports disabled = isPy27; # uses python3 imports
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "bea06b5f4ff620a28dfc9848cf4d6b2bfeed34238edeb8ebe815c433b54eb1fa"; sha256 = "sha256-BA2+ShAeG2sbZenaJYU08PCwrgCjsf0tWS/oV5/4N64=";
}; };
# use pytest as nosetests hangs # use pytest as nosetests hangs
checkInputs = [ mock nose pytestCheckHook hypothesis ]; checkInputs = [
hypothesis
mock
nose
pytestCheckHook
];
pythonImportsCheck = [ "dpath" ];
meta = with lib; { meta = with lib; {
description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath";
homepage = "https://github.com/akesterson/dpath-python"; homepage = "https://github.com/akesterson/dpath-python";
license = [ licenses.mit ]; license = with licenses; [ mit ];
description = "A python library for accessing and searching dictionaries via /slashed/paths ala xpath"; maintainers = with maintainers; [ mmlb ];
maintainers = [ maintainers.mmlb ];
}; };
} }