pythonPackages.zope_component: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:02:50 -04:00
parent 3bd097d4d9
commit 88298b6b67
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 33 additions and 21 deletions

View File

@ -0,0 +1,32 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, zope_configuration
, zope_event
, zope_i18nmessageid
, zope_interface
, zope_testing
}:
buildPythonPackage rec {
pname = "zope.component";
version = "4.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "1gzbr0j6c2h0cqnpi2cjss38wrz1bcwx8xahl3vykgz5laid15l6";
};
propagatedBuildInputs = [ zope_configuration zope_event zope_i18nmessageid zope_interface zope_testing ];
# ignore tests because of a circular dependency on zope_security
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/zopefoundation/zope.component;
description = "Zope Component Architecture";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4186,27 +4186,7 @@ in {
zope_broken = callPackage ../development/python-modules/zope_broken { };
zope_component = buildPythonPackage rec {
name = "zope.component-4.2.1";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.component/zope.component-4.2.1.tar.gz";
sha256 = "1gzbr0j6c2h0cqnpi2cjss38wrz1bcwx8xahl3vykgz5laid15l6";
};
propagatedBuildInputs = with self; [
zope_configuration zope_event zope_i18nmessageid zope_interface
zope_testing
];
# ignore tests because of a circular dependency on zope_security
doCheck = false;
meta = {
maintainers = with maintainers; [ goibhniu ];
};
};
zope_component = callPackage ../development/python-modules/zope_component { };
zope_configuration = buildPythonPackage rec {
name = "zope.configuration-4.0.3";