nixpkgs/pkgs/development/python-modules/nested-lookup/default.nix
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

34 lines
680 B
Nix

{ buildPythonPackage
, fetchPypi
, lib
, pytestCheckHook
, six
}:
buildPythonPackage rec {
pname = "nested-lookup";
version = "0.2.25";
src = fetchPypi {
inherit pname version;
hash = "sha256-b6gydIyQOB8ikdhQgJ4ySSUZ7l8lPWpay8Kdk37KAug=";
};
propagatedBuildInputs = [
six
];
nativeCheckInputs = [
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 ];
};
}