blob: b0eb3ef93ea417b9e680d82b148817deb2138d0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
chardet,
docutils,
fetchPypi,
pbr,
pygments,
pytestCheckHook,
restructuredtext-lint,
setuptools-scm,
stevedore,
wheel,
}:
buildPythonPackage rec {
pname = "doc8";
version = "2.0.0";
pyproject = true;
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 ];
};
}
|