Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / zconfig / default.nix
blob8947badb91bf057dc17f1c8ab3886d47a80822d6
1 { lib
2 , stdenv
3 , buildPythonPackage
4 , docutils
5 , fetchPypi
6 , manuel
7 , pygments
8 , pytestCheckHook
9 , pythonOlder
10 , setuptools
11 , zope-testrunner
14 buildPythonPackage rec {
15   pname = "zconfig";
16   version = "4.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchPypi {
22     pname = "ZConfig";
23     inherit version;
24     hash = "sha256-+NZC+6a6mNCGMb4sH3GtGVfAUf70qj0/ufHgjcYdAVY=";
25   };
27   patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
29   nativeBuildInputs = [
30     setuptools
31   ];
33   buildInputs = [
34     docutils
35     manuel
36   ];
38   propagatedBuildInputs = [
39     zope-testrunner
40   ];
42   nativeCheckInputs = [
43     pygments
44     pytestCheckHook
45   ];
47   pythonImportsCheck = [
48     "ZConfig"
49   ];
51   pytestFlagsArray = [
52     "-s"
53   ];
55   meta = with lib; {
56     description = "Structured Configuration Library";
57     homepage = "https://github.com/zopefoundation/ZConfig";
58     changelog = "https://github.com/zopefoundation/ZConfig/blob/${version}/CHANGES.rst";
59     license = licenses.zpl20;
60     maintainers = with maintainers; [ goibhniu ];
61   };