Merge pull request #165286 from tboerger/nested-lookup

This commit is contained in:
Sandro 2022-03-26 15:32:11 +01:00 committed by GitHub
commit 54dfcc86c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "nested-lookup";
version = "0.2.23";
src = fetchFromGitHub {
owner = "russellballestrini";
repo = "nested-lookup";
# https://github.com/russellballestrini/nested-lookup/issues/47
rev = "c1b0421479efa378545bc71efa3b72882e8fec17";
sha256 = "sha256-jgfYLSsFLQSsOH4NzbDPKFIG+tWWZ1zTWcZEaX2lthg=";
};
propagatedBuildInputs = [
six
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "nested_lookup" ];
meta = with lib; {
description = "Python functions for working with deeply nested documents (lists and dicts)";
homepage = "https://github.com/russellballestrini/nested-lookup";
license = licenses.publicDomain;
maintainers = with maintainers; [ tboerger ];
};
}

View File

@ -5469,6 +5469,8 @@ in {
nest-asyncio = callPackage ../development/python-modules/nest-asyncio { };
nested-lookup = callPackage ../development/python-modules/nested-lookup { };
nestedtext = callPackage ../development/python-modules/nestedtext { };
net2grid = callPackage ../development/python-modules/net2grid { };