mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43: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.
32 lines
595 B
Nix
32 lines
595 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, isPy27
|
|
, zope_interface
|
|
, zope_location
|
|
, zope_schema
|
|
, unittestCheckHook
|
|
}:
|
|
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zope.copy";
|
|
version = "4.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-epg2yjqX9m1WGzYPeGUBKGif4JNAddzg75ECe9xPOlc=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zope_interface ];
|
|
|
|
doCheck = !isPy27; # namespace conflicts
|
|
nativeCheckInputs = [ unittestCheckHook zope_location zope_schema ];
|
|
|
|
unittestFlagsArray = [ "-s" "src/zope/copy" ];
|
|
|
|
meta = {
|
|
maintainers = with lib.maintainers; [ domenkozar ];
|
|
};
|
|
}
|