nixpkgs/pkgs/development/python-modules/zconfig/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

33 lines
704 B
Nix

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