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