pythonPAckages.zope_size: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov 2018-10-29 10:49:07 -04:00
parent 399ac94602
commit 125ade6524
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
, zope_i18nmessageid
, zope_interface
}:
buildPythonPackage rec {
pname = "zope.size";
version = "3.5.0";
src = fetchPypi {
inherit pname version;
sha256 = "006xfkhvmypwd3ww9gbba4zly7n9w30bpp1h74d53la7l7fiqk2f";
};
propagatedBuildInputs = [ zope_i18nmessageid zope_interface ];
meta = with stdenv.lib; {
homepage = http://github.com/zopefoundation/zope.size;
description = "Interfaces and simple adapter that give the size of an object";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}

View File

@ -4212,21 +4212,7 @@ in {
zope_schema = callPackage ../development/python-modules/zope_schema { };
zope_size = buildPythonPackage rec {
name = "zope.size-3.5.0";
src = pkgs.fetchurl {
url = "mirror://pypi/z/zope.size/${name}.tar.gz";
sha256 = "006xfkhvmypwd3ww9gbba4zly7n9w30bpp1h74d53la7l7fiqk2f";
};
propagatedBuildInputs = with self; [ zope_i18nmessageid zope_interface ];
meta = {
maintainers = with maintainers; [ goibhniu ];
};
};
zope_size = callPackage ../development/python-modules/zope_size { };
zope_testing = buildPythonPackage rec {
name = "zope.testing-${version}";