depot/third_party/nixpkgs/pkgs/development/python-modules/zope_schema/default.nix

34 lines
794 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, zope_location
, zope_event
, zope_interface
, zope_testing
}:
buildPythonPackage rec {
pname = "zope.schema";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "20fbbce8a0726ba34f0e3958676498feebb818f06575193254e139d8d7214f26";
};
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 ];
};
}