2021-09-18 10:52:07 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2020-04-24 23:36:52 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, zope_testrunner
|
|
|
|
, manuel
|
|
|
|
, docutils
|
2021-09-18 10:52:07 +00:00
|
|
|
, pygments
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "ZConfig";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "3.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-oo6VoK4zV5V0fsytNbLLcI831Ex/Ml4qyyAemDMLFuU=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [ manuel docutils ];
|
|
|
|
propagatedBuildInputs = [ zope_testrunner ];
|
2021-09-18 10:52:07 +00:00
|
|
|
checkInputs = [ pygments ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Structured Configuration Library";
|
|
|
|
homepage = "https://pypi.python.org/pypi/ZConfig";
|
|
|
|
license = licenses.zpl20;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|