8 buildPythonPackage rec {
9 pname = "sphinx-argparse";
11 format = "setuptools";
14 pname = "sphinx_argparse";
16 hash = "sha256-4PNBhOtW8S+s53T7yHuICr25AXoJmNHsVZsmfpaX5Ek=";
20 # Fix tests for python-3.10 and add 3.10 to CI matrix
21 # Should be fixed in versions > 0.3.1
22 # https://github.com/ashb/sphinx-argparse/pull/3
23 substituteInPlace sphinxarg/parser.py \
24 --replace "if action_group.title == 'optional arguments':" "if action_group.title == 'optional arguments' or action_group.title == 'options':"
27 propagatedBuildInputs = [
35 pythonImportsCheck = [ "sphinxarg" ];
38 description = "A sphinx extension that automatically documents argparse commands and options";
39 homepage = "https://github.com/ashb/sphinx-argparse";
40 license = lib.licenses.mit;
41 maintainers = with lib.maintainers; [ clacke ];