567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
32 lines
698 B
Nix
32 lines
698 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
lib,
|
|
pytestCheckHook,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "nested-lookup";
|
|
version = "0.2.25";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-b6gydIyQOB8ikdhQgJ4ySSUZ7l8lPWpay8Kdk37KAug=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ six ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "nested_lookup" ];
|
|
|
|
meta = {
|
|
description = "Python functions for working with deeply nested documents (lists and dicts)";
|
|
homepage = "https://github.com/russellballestrini/nested-lookup";
|
|
license = lib.licenses.publicDomain;
|
|
maintainers = with lib.maintainers; [ tboerger ];
|
|
};
|
|
}
|