nixpkgs/pkgs/development/python-modules/zope_copy/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

32 lines
593 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;
hash = "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 ];
};
}