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";
|
2023-01-20 10:41:00 +00:00
|
|
|
version = "3.6.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2023-01-20 10:41:00 +00:00
|
|
|
sha256 = "sha256-RCLH1mOvdizXeVd1NmvGpnq0QKGreW6w90JbDpA08HY=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|