2ce89355c3
GitOrigin-RevId: 22a81aa5fc15b2d41b12f7160a71cd4a9f3c3fa1
32 lines
768 B
Nix
32 lines
768 B
Nix
{ stdenv
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, zope_testrunner
|
|
, manuel
|
|
, docutils
|
|
, pythonAtLeast
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ZConfig";
|
|
version = "3.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0s7aycxna07a04b4rswbkj4y5qh3gxy2mcsqb9dmy0iimj9f9550";
|
|
};
|
|
|
|
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
|
|
|
|
buildInputs = [ manuel docutils ];
|
|
propagatedBuildInputs = [ zope_testrunner ];
|
|
|
|
disabled = pythonAtLeast "3.8"; # 3.6.0 introduces compatibility for 3.8 and 3.9
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Structured Configuration Library";
|
|
homepage = "https://pypi.python.org/pypi/ZConfig";
|
|
license = licenses.zpl20;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
};
|
|
}
|