nixpkgs/pkgs/development/python-modules/zope_schema/default.nix
2021-04-03 17:49:41 +02:00

34 lines
784 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, zope_location
, zope_event
, zope_interface
, zope_testing
}:
buildPythonPackage rec {
pname = "zope.schema";
version = "6.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "9fa04d95e8e7e9056091eed9819da6e65dde68de39c2b93617d361d1eb8a7c0c";
};
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 lib; {
homepage = "https://github.com/zopefoundation/zope.schema";
description = "zope.interface extension for defining data schemas";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
};
}