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

30 lines
668 B
Nix
Raw Normal View History

{ stdenv
, fetchPypi
, buildPythonPackage
, zope_testrunner
, manuel
, docutils
}:
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 ];
meta = with stdenv.lib; {
description = "Structured Configuration Library";
homepage = "https://pypi.python.org/pypi/ZConfig";
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};
}