blob: 5bc24ba7ec93b8ee3be6617286d14ac69e0e8d28 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
flit-core,
sphinx,
pytestCheckHook,
lxml,
}:
buildPythonPackage rec {
pname = "sphinx-argparse";
version = "0.5.2";
pyproject = true;
src = fetchPypi {
pname = "sphinx_argparse";
inherit version;
hash = "sha256-5TUvj6iUtvtv2gSYuiip+NQ1lx70u8GmycZBTnZE8DI=";
};
build-system = [ flit-core ];
dependencies = [ sphinx ];
nativeCheckInputs = [
lxml
pytestCheckHook
];
pythonImportsCheck = [ "sphinxarg" ];
meta = {
description = "Sphinx extension that automatically documents argparse commands and options";
homepage = "https://github.com/ashb/sphinx-argparse";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ clacke ];
};
}
|