anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / zconfig / default.nix
blobd31124a9ac1e05b168b16ac8d541b01bde36399c
2   lib,
3   stdenv,
4   buildPythonPackage,
5   docutils,
6   fetchPypi,
7   manuel,
8   pygments,
9   pytestCheckHook,
10   pythonOlder,
11   setuptools,
12   zope-testrunner,
15 buildPythonPackage rec {
16   pname = "zconfig";
17   version = "4.1";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchPypi {
23     inherit pname version;
24     hash = "sha256-tqed2hV/NpjIdo0s7cJjIW6K8kDTz50JoCpkKREU6yA=";
25   };
27   patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
29   nativeBuildInputs = [ setuptools ];
31   buildInputs = [
32     docutils
33     manuel
34   ];
36   propagatedBuildInputs = [ zope-testrunner ];
38   nativeCheckInputs = [
39     pygments
40     pytestCheckHook
41   ];
43   pythonImportsCheck = [ "ZConfig" ];
45   pytestFlagsArray = [ "-s" ];
47   meta = with lib; {
48     description = "Structured Configuration Library";
49     homepage = "https://github.com/zopefoundation/ZConfig";
50     changelog = "https://github.com/zopefoundation/ZConfig/blob/${version}/CHANGES.rst";
51     license = licenses.zpl20;
52     maintainers = [ ];
53   };