forked from mirrors/nixpkgs
python: sphinx-argparse: init at 0.2.5
This commit is contained in:
parent
65671ed80b
commit
5cc36ece45
33
pkgs/development/python-modules/sphinx-argparse/default.nix
Normal file
33
pkgs/development/python-modules/sphinx-argparse/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest
|
||||
, sphinx
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sphinx-argparse";
|
||||
version = "0.2.5";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "05wc8f5hb3jsg2vh2jf7jsyan8d4i09ifrz2c8fp6f7x1zw9iav0";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
];
|
||||
|
||||
checkPhase = "py.test";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sphinx
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A sphinx extension that automatically documents argparse commands and options";
|
||||
homepage = https://github.com/ribozz/sphinx-argparse;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ clacke ];
|
||||
};
|
||||
}
|
|
@ -4018,6 +4018,8 @@ in {
|
|||
|
||||
sphinx = callPackage ../development/python-modules/sphinx { };
|
||||
|
||||
sphinx-argparse = callPackage ../development/python-modules/sphinx-argparse { };
|
||||
|
||||
sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { };
|
||||
|
||||
hieroglyph = callPackage ../development/python-modules/hieroglyph { };
|
||||
|
|
Loading…
Reference in a new issue