47 lines
1 KiB
Nix
47 lines
1 KiB
Nix
{
|
|
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 = [ ];
|
|
};
|
|
}
|