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.1"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-RCLH1mOvdizXeVd1NmvGpnq0QKGreW6w90JbDpA08HY="; 18 }; 19 20 patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch; 21 22 buildInputs = [ manuel docutils ]; 23 propagatedBuildInputs = [ zope_testrunner ]; 24 nativeCheckInputs = [ 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}