mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-11 03:52:30 +00:00

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.
23 lines
302 B
Nix
23 lines
302 B
Nix
{ buildPythonPackage
|
|
, pytestCheckHook
|
|
, attrs
|
|
, hypothesis
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "attrs-tests";
|
|
inherit (attrs) version;
|
|
format = "other";
|
|
|
|
srcs = attrs.testout;
|
|
|
|
dontBuild = true;
|
|
dontInstall = true;
|
|
|
|
nativeCheckInputs = [
|
|
attrs
|
|
hypothesis
|
|
pytestCheckHook
|
|
];
|
|
}
|