pythonPackages.zope_contenttype: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:07:58 -04:00
parent 9060471dcd
commit f50579106a
No known key found for this signature in database
GPG Key ID: 9ED59B0AB1EAF573
2 changed files with 23 additions and 13 deletions

View File

@ -0,0 +1,22 @@
{ stdenv
, buildPythonPackage
, fetchPypi
}:
buildPythonPackage rec {
pname = "zope.contenttype";
version = "4.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "9decc7531ad6925057f1a667ac0ef9d658577a92b0b48dafa7daa97b78a02bbb";
};
meta = with stdenv.lib; {
homepage = http://github.com/zopefoundation/zope.contenttype;
description = "A utility module for content-type (MIME type) handling";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4190,19 +4190,7 @@ in {
zope_configuration = callPackage ../development/python-modules/zope_configuration { };
zope_contenttype = buildPythonPackage rec {
name = "zope.contenttype-4.0.1";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.contenttype/${name}.tar.gz";
sha256 = "9decc7531ad6925057f1a667ac0ef9d658577a92b0b48dafa7daa97b78a02bbb";
};
meta = {
maintainers = with maintainers; [ goibhniu ];
};
};
zope_contenttype = callPackage ../development/python-modules/zope_contenttype { };
zope_dottedname = buildPythonPackage rec {
name = "zope.dottedname-3.4.6";