pythonPAckages.zope_size: refactor move to python-modules
This commit is contained in:
parent
399ac94602
commit
125ade6524
26
pkgs/development/python-modules/zope_size/default.nix
Normal file
26
pkgs/development/python-modules/zope_size/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4212,21 +4212,7 @@ in {
|
|||||||
|
|
||||||
zope_schema = callPackage ../development/python-modules/zope_schema { };
|
zope_schema = callPackage ../development/python-modules/zope_schema { };
|
||||||
|
|
||||||
zope_size = buildPythonPackage rec {
|
zope_size = callPackage ../development/python-modules/zope_size { };
|
||||||
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_testing = buildPythonPackage rec {
|
zope_testing = buildPythonPackage rec {
|
||||||
name = "zope.testing-${version}";
|
name = "zope.testing-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user