Patchwork [WIP,v3,2/5] gnu: Add python-sphinx-cloud-sptheme.

login
register
mail settings
Submitter Danny Milosavljevic
Date Oct. 13, 2016, 6:40 a.m.
Message ID <20161013064046.14200-3-dannym@scratchpost.org>
Download mbox | patch
Permalink /patch/16458/
State New
Headers show

Comments

Danny Milosavljevic - Oct. 13, 2016, 6:40 a.m.
* gnu/packages/python.scm (python-sphinx-cloud-sptheme, python2-sphinx-cloud-sptheme): New variables.
---
 gnu/packages/python.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Patch

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 20e01dd..0948c9b 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11045,3 +11045,30 @@  stemmer) generated from Snowball algorithms.")
 
 (define-public python2-snowballstemmer
   (package-with-python2 (strip-python2-variant python-snowballstemmer)))
+
+(define-public python-sphinx-cloud-sptheme
+  (package
+    (name "python-sphinx-cloud-sptheme")
+    (version "1.7.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "cloud_sptheme" version))
+        (sha256
+          (base32
+            "0zm9ap4p5dzln8f1m2immadaxv2xpg8jg4w53y52rhfl7pdb58vy"))))
+  (build-system python-build-system)
+  (native-inputs
+    `(("python-sphinx" ,python-sphinx)))
+  (home-page
+    "https://bitbucket.org/ecollins/cloud_sptheme")
+  (synopsis
+    "'Cloud' theme for Sphinx documenter")
+  (description
+    "This package contains the 'Cloud' theme for Sphinx and some
+related extensions.")
+  (license license:bsd-3)
+  (properties `((python2-variant . ,(delay python2-sphinx-cloud-sptheme))))))
+
+(define-public python2-sphinx-cloud-sptheme
+  (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme)))