1{ lib 2, buildPythonPackage 3, fetchPypi 4, pytest 5, sphinx 6}: 7 8buildPythonPackage rec { 9 pname = "sphinx-argparse"; 10 version = "0.3.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "82151cbd43ccec94a1530155f4ad34f251aaca6a0ffd5516d7fadf952d32dc1e"; 15 }; 16 17 checkInputs = [ 18 pytest 19 ]; 20 21 checkPhase = "py.test"; 22 23 propagatedBuildInputs = [ 24 sphinx 25 ]; 26 27 meta = { 28 description = "A sphinx extension that automatically documents argparse commands and options"; 29 homepage = "https://github.com/ribozz/sphinx-argparse"; 30 license = lib.licenses.mit; 31 maintainers = with lib.maintainers; [ clacke ]; 32 }; 33}