pythonPackages.zope_i18n: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:27:13 -04:00
parent 1fd6cd9a5b
commit c9a6836a8f
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 27 additions and 15 deletions

View File

@ -0,0 +1,26 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytz
, zope_component
}:
buildPythonPackage rec {
pname = "zope.i18n";
version = "3.8.0";
src = fetchPypi {
inherit pname version;
sha256 = "045nnimmshibcq71yym2d8yrs6wzzhxq5gl7wxjnkpyjm5y0hfkm";
};
propagatedBuildInputs = [ pytz zope_component ];
meta = with stdenv.lib; {
homepage = https://github.com/zopefoundation/zope.i18n;
description = "Zope Internationalization Support";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4200,21 +4200,7 @@ in {
zope_filerepresentation = callPackage ../development/python-modules/zope_filerepresentation { };
zope_i18n = buildPythonPackage rec {
name = "zope.i18n-3.8.0";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.i18n/${name}.tar.gz";
sha256 = "045nnimmshibcq71yym2d8yrs6wzzhxq5gl7wxjnkpyjm5y0hfkm";
};
propagatedBuildInputs = with self; [ pytz zope_component ];
meta = {
maintainers = with maintainers; [ goibhniu ];
};
};
zope_i18n = callPackage ../development/python-modules/zope_i18n { };
zope_i18nmessageid = buildPythonPackage rec {
name = "zope.i18nmessageid-4.0.3";