Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zope-configuration / default.nix
blob6a664daaf026d557c03cf13afde221edb8551569
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pythonOlder
5 , setuptools
6 , zope-i18nmessageid
7 , zope-interface
8 , zope-schema
9 , pytestCheckHook
10 , zope-testing
11 , zope-testrunner
12 , manuel
15 buildPythonPackage rec {
16   pname = "zope-configuration";
17   version = "5.0.1";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     pname = "zope.configuration";
24     inherit version;
25     hash = "sha256-81h36tXpmANjhdLdxGkZ6ryZjmmcBZh5ZPFxrY3ZJxs=";
26   };
28   nativeBuildInputs = [
29     setuptools
30   ];
32   nativeCheckInputs = [
33     manuel
34     pytestCheckHook
35     zope-testing
36     zope-testrunner
37   ];
39   propagatedBuildInputs = [
40     zope-i18nmessageid
41     zope-interface
42     zope-schema
43   ];
45   # Need to investigate how to run the tests with zope-testrunner
46   doCheck = false;
48   pythonImportsCheck = [
49     "zope.configuration"
50   ];
52   pythonNamespaces = [
53     "zope"
54   ];
56   meta = with lib; {
57     description = "Zope Configuration Markup Language (ZCML)";
58     homepage = "https://github.com/zopefoundation/zope.configuration";
59     changelog = "https://github.com/zopefoundation/zope.configuration/blob/${version}/CHANGES.rst";
60     license = licenses.zpl21;
61     maintainers = with maintainers; [ goibhniu ];
62   };