nixpkgs/pkgs/development/python-modules/zconfig/default.nix

31 lines
714 B
Nix
Raw Normal View History

2017-07-14 05:06:29 +02:00
{ stdenv
, fetchPypi
, buildPythonPackage
, zope_testrunner
, manuel
, docutils
2017-07-14 05:06:29 +02:00
}:
buildPythonPackage rec {
pname = "ZConfig";
2018-11-04 11:35:22 +01:00
version = "3.3.0";
2017-07-14 05:06:29 +02:00
src = fetchPypi {
inherit pname version;
2018-11-04 11:35:22 +01:00
sha256 = "22d7fd3b8b12405f4856898995fd69e40bbe239c4c689502ee6d766a7368f585";
2017-07-14 05:06:29 +02:00
};
patches = [ ./skip-broken-test.patch ]
++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
2017-07-14 05:06:29 +02:00
buildInputs = [ manuel docutils ];
2017-07-14 05:06:29 +02:00
propagatedBuildInputs = [ zope_testrunner ];
meta = with stdenv.lib; {
description = "Structured Configuration Library";
homepage = https://pypi.python.org/pypi/ZConfig;
license = licenses.zpl20;
2017-07-14 05:06:29 +02:00
maintainers = [ maintainers.goibhniu ];
};
}