Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
57 lines
1015 B
Nix
57 lines
1015 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
chardet,
|
|
docutils,
|
|
fetchPypi,
|
|
pbr,
|
|
pygments,
|
|
pytestCheckHook,
|
|
pythonOlder,
|
|
restructuredtext-lint,
|
|
setuptools-scm,
|
|
stevedore,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "doc8";
|
|
version = "2.0.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.10";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-EmetMnWJcfvPmRRCQXo5Nce8nlJVDnNiLg5WulXqHUA=";
|
|
};
|
|
|
|
build-system = [
|
|
setuptools-scm
|
|
wheel
|
|
];
|
|
|
|
buildInputs = [ pbr ];
|
|
|
|
dependencies = [
|
|
docutils
|
|
chardet
|
|
stevedore
|
|
restructuredtext-lint
|
|
pygments
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "doc8" ];
|
|
|
|
meta = {
|
|
description = "Style checker for Sphinx (or other) RST documentation";
|
|
mainProgram = "doc8";
|
|
homepage = "https://github.com/pycqa/doc8";
|
|
changelog = "https://github.com/PyCQA/doc8/releases/tag/v${version}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ onny ];
|
|
};
|
|
}
|