2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pytestCheckHook,
|
|
|
|
six,
|
2022-03-30 09:31:56 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ six ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|