pythonPackages.zope_testing: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:50:40 -04:00
parent 125ade6524
commit 2c5ff5ea3f
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 31 additions and 21 deletions

View File

@ -0,0 +1,30 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPyPy
, zope_interface
, zope_exceptions
, zope_location
}:
buildPythonPackage rec {
pname = "zope.testing";
version = "4.6.1";
src = fetchPypi {
inherit pname version;
sha256 = "1vvxhjmzl7vw2i1akfj1xbggwn36270ym7f2ic9xwbaswfw1ap56";
};
doCheck = !isPyPy;
propagatedBuildInputs = [ zope_interface zope_exceptions zope_location ];
meta = with stdenv.lib; {
description = "Zope testing helpers";
homepage = http://pypi.python.org/pypi/zope.testing;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4214,27 +4214,7 @@ in {
zope_size = callPackage ../development/python-modules/zope_size { };
zope_testing = buildPythonPackage rec {
name = "zope.testing-${version}";
version = "4.6.1";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.testing/${name}.tar.gz";
sha256 = "1vvxhjmzl7vw2i1akfj1xbggwn36270ym7f2ic9xwbaswfw1ap56";
};
doCheck = !isPyPy;
propagatedBuildInputs = with self; [ zope_interface zope_exceptions zope_location ];
meta = {
description = "Zope testing helpers";
homepage = http://pypi.python.org/pypi/zope.testing;
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
};
zope_testing = callPackage ../development/python-modules/zope_testing { };
zope_testrunner = callPackage ../development/python-modules/zope_testrunner { };