mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
33afbf39f6
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.
34 lines
680 B
Nix
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 ];
|
|
};
|
|
}
|