1{ lib 2, stdenv 3, fetchPypi 4, buildPythonPackage 5, zope_testrunner 6, manuel 7, docutils 8, pygments 9}: 10 11buildPythonPackage rec { 12 pname = "ZConfig"; 13 version = "3.6.0"; 14 15 src = fetchPypi { 16 inherit pname version; 17 sha256 = "sha256-oo6VoK4zV5V0fsytNbLLcI831Ex/Ml4qyyAemDMLFuU="; 18 }; 19 20 patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 21 22 buildInputs = [ manuel docutils ]; 23 propagatedBuildInputs = [ zope_testrunner ]; 24 checkInputs = [ pygments ]; 25 26 meta = with lib; { 27 description = "Structured Configuration Library"; 28 homepage = "https://pypi.python.org/pypi/ZConfig"; 29 license = licenses.zpl20; 30 maintainers = [ maintainers.goibhniu ]; 31 }; 32}