2022-03-30 09:31:56 +00:00
|
|
|
{ buildPythonPackage
|
2022-09-30 11:47:45 +00:00
|
|
|
, fetchPypi
|
2022-03-30 09:31:56 +00:00
|
|
|
, lib
|
|
|
|
, pytestCheckHook
|
|
|
|
, six
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "nested-lookup";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "0.2.25";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-b6gydIyQOB8ikdhQgJ4ySSUZ7l8lPWpay8Kdk37KAug=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-03-30 09:31:56 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|