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

34 lines
769 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, zope_location
, zope_event
, zope_interface
, zope_testing
}:
buildPythonPackage rec {
pname = "zope.schema";
version = "7.0.1";
src = fetchPypi {
inherit pname version;
hash = "sha256-6tTbywM1TU5BDJo7kERR60TZAlR1Gxy97fSmGu3p+7k=";
};
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 ];
};
}