depot/third_party/nixpkgs/pkgs/development/python-modules/dpath/default.nix
Default email 2ce89355c3 Project import generated by Copybara.
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
2020-06-15 17:56:04 +02:00

24 lines
707 B
Nix

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