nixpkgs/pkgs/development/python-modules/zconfig/default.nix
2018-12-03 16:50:37 +01:00

30 lines
714 B
Nix

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