My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/dpath/default.nix

38 lines
756 B

{ lib
, buildPythonPackage
, fetchPypi
, hypothesis
, isPy27
, mock
, nose
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "dpath";
version = "2.0.6";
disabled = isPy27; # uses python3 imports
src = fetchPypi {
inherit pname version;
sha256 = "sha256-Wh3a5SIz+8jvgbFfuFBzqBEmu0NpjT86G2qvVhpGzcA=";
};
# use pytest as nosetests hangs
checkInputs = [
hypothesis
mock
nose
pytestCheckHook
];
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";
license = with licenses; [ mit ];
maintainers = with maintainers; [ mmlb ];
};
}