summaryrefslogtreecommitdiff
path: root/gnu/packages/python.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-02-05 03:16:18 -0500
committerLeo Famulari <leo@famulari.name>2016-02-22 00:40:25 -0500
commit3276517cdcd2dfe7f2bad40eb22d94841775056a (patch)
tree982d4da3ba3c1d1920b1e59ab0f02ae8a8124bcb /gnu/packages/python.scm
parent2de98febb32cc1b2816213c9056a90d6cf5730b0 (diff)
gnu: Add python-sphinxcontrib-programoutput.
* gnu/packages/python.scm (python-sphinxcontrib-programoutput, python2-sphinxcontrib-programoutput): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r--gnu/packages/python.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 740126f99a7..91fa25674f5 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -8104,3 +8104,30 @@ programmatically interfacing with your system's $EDITOR.")
8104 (inherit (package-with-python2 8104 (inherit (package-with-python2
8105 (strip-python2-variant python-editor))) 8105 (strip-python2-variant python-editor)))
8106 (inputs `(("python2-setuptools" ,python2-setuptools))))) 8106 (inputs `(("python2-setuptools" ,python2-setuptools)))))
8107
8108(define-public python-sphinxcontrib-programoutput
8109 (package
8110 (name "python-sphinxcontrib-programoutput")
8111 (version "0.8")
8112 (source (origin
8113 (method url-fetch)
8114 (uri (pypi-uri "sphinxcontrib-programoutput" version))
8115 (sha256
8116 (base32
8117 "098as6z1s0gb4dh5xcr1fd2vpm91zj93jzvgawspxf5s4hqs0xhp"))))
8118 (build-system python-build-system)
8119 (propagated-inputs
8120 `(("python-docutils" ,python-docutils)
8121 ("python-sphinx" ,python-sphinx)))
8122 (synopsis "Sphinx extension to include program output")
8123 (description "A Sphinx extension to literally insert the output of arbitrary
8124commands into documents, helping you to keep your command examples up to date.")
8125 (home-page "https://github.com/lunaryorn/sphinxcontrib-programoutput")
8126 (license bsd-2)
8127 (properties `((python2-variant . ,(delay python2-sphinxcontrib-programoutput))))))
8128
8129(define-public python2-sphinxcontrib-programoutput
8130 (package
8131 (inherit (package-with-python2
8132 (strip-python2-variant python-sphinxcontrib-programoutput)))
8133 (native-inputs `(("python2-setuptools" ,python2-setuptools)))))