pythonPAckages.zope_schema: refactor move to python-modules
This commit is contained in:
parent
00f0446487
commit
399ac94602
33
pkgs/development/python-modules/zope_schema/default.nix
Normal file
33
pkgs/development/python-modules/zope_schema/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, zope_location
|
||||||
|
, zope_event
|
||||||
|
, zope_interface
|
||||||
|
, zope_testing
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "zope.schema";
|
||||||
|
version = "4.4.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ zope_location zope_event zope_interface zope_testing ];
|
||||||
|
|
||||||
|
# ImportError: No module named 'zope.event'
|
||||||
|
# even though zope_event has been included.
|
||||||
|
# Package seems to work fine.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/zopefoundation/zope.schema;
|
||||||
|
description = "zope.interface extension for defining data schemas";
|
||||||
|
license = licenses.zpl20;
|
||||||
|
maintainers = with maintainers; [ goibhniu ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4210,26 +4210,7 @@ in {
|
|||||||
|
|
||||||
zope_proxy = callPackage ../development/python-modules/zope_proxy { };
|
zope_proxy = callPackage ../development/python-modules/zope_proxy { };
|
||||||
|
|
||||||
zope_schema = buildPythonPackage rec {
|
zope_schema = callPackage ../development/python-modules/zope_schema { };
|
||||||
name = "zope.schema-4.4.2";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/z/zope.schema/${name}.tar.gz";
|
|
||||||
sha256 = "1p943jdxb587dh7php4vx04qvn7b2877hr4qs5zyckvp5afhhank";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ zope_location zope_event zope_interface zope_testing ];
|
|
||||||
|
|
||||||
# ImportError: No module named 'zope.event'
|
|
||||||
# even though zope_event has been included.
|
|
||||||
# Package seems to work fine.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
maintainers = with maintainers; [ goibhniu ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
zope_size = buildPythonPackage rec {
|
zope_size = buildPythonPackage rec {
|
||||||
name = "zope.size-3.5.0";
|
name = "zope.size-3.5.0";
|
||||||
|
Loading…
Reference in New Issue
Block a user