3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #47887 from mmlb/python-dpath

pythonPackages.dpath: init at 1.4.2
This commit is contained in:
Samuel Dionne-Riel 2018-11-12 03:51:56 +00:00 committed by GitHub
commit 242282d92d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ stdenv, fetchPypi, buildPythonPackage
, mock, nose
}:
buildPythonPackage rec {
pname = "dpath";
version = "1.4.2";
src = fetchPypi {
inherit pname version;
sha256 = "0gr7816pnzbyh9h1ia0qz0q1f9zfzacwb8dc36js8hw8x14myqqg";
};
checkInputs = [ mock nose ];
checkPhase = ''
nosetests
'';
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 ];
};
}

View file

@ -1516,6 +1516,8 @@ in {
dopy = callPackage ../development/python-modules/dopy { };
dpath = callPackage ../development/python-modules/dpath { };
dpkt = callPackage ../development/python-modules/dpkt {};
urllib3 = callPackage ../development/python-modules/urllib3 {};