1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 02:26:19 +03:00
nixpkgs/pkgs/development/python-modules/dpath/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
756 B
Nix
Raw Normal View History

2021-09-03 08:27:42 +02:00
{ lib
, buildPythonPackage
, fetchPypi
, hypothesis
, isPy27
, mock
, nose
, pytestCheckHook
2018-10-04 16:06:26 -04:00
}:
buildPythonPackage rec {
pname = "dpath";
version = "2.0.6";
2021-09-03 08:27:42 +02:00
disabled = isPy27; # uses python3 imports
2018-10-04 16:06:26 -04:00
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Wh3a5SIz+8jvgbFfuFBzqBEmu0NpjT86G2qvVhpGzcA=";
2018-10-04 16:06:26 -04:00
};
2020-06-08 12:03:19 -07:00
# use pytest as nosetests hangs
2021-09-03 08:27:42 +02:00
checkInputs = [
hypothesis
mock
nose
pytestCheckHook
];
pythonImportsCheck = [ "dpath" ];
2018-10-04 16:06:26 -04:00
meta = with lib; {
2021-09-03 08:27:42 +02:00
description = "Python library for accessing and searching dictionaries via /slashed/paths ala xpath";
homepage = "https://github.com/akesterson/dpath-python";
2021-09-03 08:27:42 +02:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ mmlb ];
2018-10-04 16:06:26 -04:00
};
}