Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 1.0 kB view raw
1{ stdenv 2, fetchPypi 3, fetchpatch 4, buildPythonPackage 5, zope_testrunner 6, manuel 7, docutils 8, pythonAtLeast 9}: 10 11buildPythonPackage rec { 12 pname = "ZConfig"; 13 version = "3.5.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550"; 18 }; 19 20 patches = [ 21 # fixes 3.8+ logger validation issues, has been merged into master, remove next bump 22 (fetchpatch { 23 url = "https://github.com/zopefoundation/ZConfig/commit/f0c2990d35ac3c924ecc8be4a5c71c8e4abbd0e5.patch"; 24 sha256 = "1bjg3wrvii0rwzf3s0vlpzgg2ckj0h2zxkyxwjcr64s4k2vaq9ij"; 25 }) 26 ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 27 28 buildInputs = [ manuel docutils ]; 29 propagatedBuildInputs = [ zope_testrunner ]; 30 31 meta = with stdenv.lib; { 32 description = "Structured Configuration Library"; 33 homepage = "https://pypi.python.org/pypi/ZConfig"; 34 license = licenses.zpl20; 35 maintainers = [ maintainers.goibhniu ]; 36 }; 37}