at 24.11-pre 1.1 kB view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 docutils, 6 fetchPypi, 7 manuel, 8 pygments, 9 pytestCheckHook, 10 pythonOlder, 11 setuptools, 12 zope-testrunner, 13}: 14 15buildPythonPackage rec { 16 pname = "zconfig"; 17 version = "4.0"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 pname = "ZConfig"; 24 inherit version; 25 hash = "sha256-+NZC+6a6mNCGMb4sH3GtGVfAUf70qj0/ufHgjcYdAVY="; 26 }; 27 28 patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 29 30 nativeBuildInputs = [ setuptools ]; 31 32 buildInputs = [ 33 docutils 34 manuel 35 ]; 36 37 propagatedBuildInputs = [ zope-testrunner ]; 38 39 nativeCheckInputs = [ 40 pygments 41 pytestCheckHook 42 ]; 43 44 pythonImportsCheck = [ "ZConfig" ]; 45 46 pytestFlagsArray = [ "-s" ]; 47 48 meta = with lib; { 49 description = "Structured Configuration Library"; 50 homepage = "https://github.com/zopefoundation/ZConfig"; 51 changelog = "https://github.com/zopefoundation/ZConfig/blob/${version}/CHANGES.rst"; 52 license = licenses.zpl20; 53 maintainers = with maintainers; [ goibhniu ]; 54 }; 55}