depot/third_party/nixpkgs/pkgs/development/python-modules/zope-configuration/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

58 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
zope-i18nmessageid,
zope-interface,
zope-schema,
pytestCheckHook,
zope-testing,
zope-testrunner,
manuel,
}:
buildPythonPackage rec {
pname = "zope-configuration";
version = "5.0.1";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "zope.configuration";
inherit version;
hash = "sha256-81h36tXpmANjhdLdxGkZ6ryZjmmcBZh5ZPFxrY3ZJxs=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [
manuel
pytestCheckHook
zope-testing
zope-testrunner
];
propagatedBuildInputs = [
zope-i18nmessageid
zope-interface
zope-schema
];
# Need to investigate how to run the tests with zope-testrunner
doCheck = false;
pythonImportsCheck = [ "zope.configuration" ];
pythonNamespaces = [ "zope" ];
meta = with lib; {
description = "Zope Configuration Markup Language (ZCML)";
homepage = "https://github.com/zopefoundation/zope.configuration";
changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst";
license = licenses.zpl21;
maintainers = [ ];
};
}