git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #54233 from clacke/sphinx-argparse

pythonPackages.sphinx-argparse: init at 0.2.5

commit99c025a871f67bef31322eeabd65980bd263f6b5 authorRobert Schütz <rschuetz17@gmail.com> dateTue 29 Jan 2019, 22:49 (8 years ago) parente1d38195cc36ec
3 files changed+40
maintainers/maintainer-list.nix+5 pkgs/development/python-modules/sphinx-argparse/default.nix+33 pkgs/top-level/python-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -892,6 +892,11 @@
892892 github = "cko";
893893 name = "Christine Koppelt";
894894 };
895+ clacke = {
896+ email = "claes.wallin@greatsinodevelopment.com";
897+ github = "clacke";
898+ name = "Claes Wallin";
899+ };
895900 cleverca22 = {
896901 email = "cleverca22@gmail.com";
897902 github = "cleverca22";
pkgs/development/python-modules/sphinx-argparse/default.nixnew file+33
@@ -0,0 +1,33 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, pytest
5+, sphinx
6+}:
7+
8+buildPythonPackage rec {
9+ pname = "sphinx-argparse";
10+ version = "0.2.5";
11+
12+ src = fetchPypi {
13+ inherit pname version;
14+ sha256 = "05wc8f5hb3jsg2vh2jf7jsyan8d4i09ifrz2c8fp6f7x1zw9iav0";
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+}
pkgs/top-level/python-packages.nix+2
@@ -4033,6 +4033,8 @@ in {
40334033
40344034 sphinx = callPackage ../development/python-modules/sphinx { };
40354035
4036+ sphinx-argparse = callPackage ../development/python-modules/sphinx-argparse { };
4037+
40364038 sphinxcontrib-websupport = callPackage ../development/python-modules/sphinxcontrib-websupport { };
40374039
40384040 hieroglyph = callPackage ../development/python-modules/hieroglyph { };