diff options
Diffstat (limited to 'pkgs/development/python-modules/zope-component/default.nix')
-rw-r--r-- | pkgs/development/python-modules/zope-component/default.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/zope-component/default.nix b/pkgs/development/python-modules/zope-component/default.nix new file mode 100644 index 0000000000000..93373d8a310ee --- /dev/null +++ b/pkgs/development/python-modules/zope-component/default.nix @@ -0,0 +1,49 @@ +{ lib +, buildPythonPackage +, fetchPypi +, zope_configuration +, zope-deferredimport +, zope_deprecation +, zope_event +, zope-hookable +, zope_i18nmessageid +, zope_interface +}: + +buildPythonPackage rec { + pname = "zope-component"; + version = "6.0"; + format = "setuptools"; + + src = fetchPypi { + pname = "zope.component"; + inherit version; + hash = "sha256-mgoEcq0gG5S0/mdBzprCwwuLsixRYHe/A2kt7E37aQY="; + }; + + propagatedBuildInputs = [ + zope_configuration + zope-deferredimport + zope_deprecation + zope_event + zope-hookable + zope_i18nmessageid + zope_interface + ]; + + # ignore tests because of a circular dependency on zope_security + doCheck = false; + + pythonImportsCheck = [ + "zope.component" + ]; + + meta = with lib; { + homepage = "https://github.com/zopefoundation/zope.component"; + description = "Zope Component Architecture"; + changelog = "https://github.com/zopefoundation/zope.component/blob/${version}/CHANGES.rst"; + license = licenses.zpl20; + maintainers = with maintainers; [ goibhniu ]; + }; + +} |