mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-19 22:30:23 +00:00
https://github.com/zopefoundation/ZConfig/blob/4.2/CHANGES.rst Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
55 lines
1020 B
Nix
55 lines
1020 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
buildPythonPackage,
|
|
docutils,
|
|
fetchPypi,
|
|
manuel,
|
|
pygments,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
setuptools,
|
|
zope-testrunner,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "zconfig";
|
|
version = "4.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-oOS1J3xM7oBgzjNaV4rEWPgsJArpaxZlkgDbxNmL/M4=";
|
|
};
|
|
|
|
patches = lib.optional stdenv.hostPlatform.isMusl ./remove-setlocale-test.patch;
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
buildInputs = [
|
|
docutils
|
|
manuel
|
|
];
|
|
|
|
dependencies = [ zope-testrunner ];
|
|
|
|
nativeCheckInputs = [
|
|
pygments
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "ZConfig" ];
|
|
|
|
pytestFlagsArray = [ "-s" ];
|
|
|
|
meta = with lib; {
|
|
description = "Structured Configuration Library";
|
|
homepage = "https://github.com/zopefoundation/ZConfig";
|
|
changelog = "https://github.com/zopefoundation/ZConfig/blob/${version}/CHANGES.rst";
|
|
license = licenses.zpl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|