nixpkgs/pkgs/development/python-modules/zope_copy/default.nix

31 lines
536 B
Nix
Raw Normal View History

2017-12-31 13:06:25 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, zope_interface
, zope_location
, zope_schema
}:
buildPythonPackage rec {
pname = "zope.copy";
2018-11-04 10:35:23 +00:00
version = "4.2";
2017-12-31 13:06:25 +00:00
src = fetchPypi {
inherit pname version;
2018-11-04 10:35:23 +00:00
sha256 = "47bb9d09ff06c600b446f220f47a742396598ac4828d738d3d85e6490629a71a";
2017-12-31 13:06:25 +00:00
};
propagatedBuildInputs = [ zope_interface ];
checkInputs = [ zope_location zope_schema ];
checkPhase = ''
python -m unittest discover -s src/zope/copy
'';
2017-12-31 13:06:25 +00:00
meta = {
maintainers = with lib.maintainers; [ domenkozar ];
};
}