guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[WIP v3 3/5] gnu: Add python-sphinx-alabaster-theme.


From: Danny Milosavljevic
Subject: [WIP v3 3/5] gnu: Add python-sphinx-alabaster-theme.
Date: Thu, 13 Oct 2016 08:40:44 +0200

* gnu/packages/python.scm (python-sphinx-alabaster-theme-0.7, 
python2-sphinx-alabaster-theme-0.7): New variables.
---
 gnu/packages/python.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 0948c9b..d9dd467 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11072,3 +11072,33 @@ related extensions.")
 
 (define-public python2-sphinx-cloud-sptheme
   (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme)))
+
+(define-public python-sphinx-alabaster-theme-0.7
+  (package
+    (name "python-sphinx-alabaster-theme")
+    (version "0.7.9")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "alabaster" version))
+        (sha256
+          (base32
+            "027anxzcb951gjlcc43y3rbn9qrw36d16vj9wd2smv5410xx9bs7"))))
+    (build-system python-build-system)
+    (home-page "https://alabaster.readthedocs.io";)
+    (synopsis
+      "A configurable sidebar-enabled Sphinx theme")
+    (description
+      "Alabaster is a visually (c)lean, responsive, configurable theme for
+the Sphinx documentation system.  It's the default theme of Sphinx.")
+    (license license:bsd-3)
+    (properties `((python2-variant .
+                   ,(delay python2-sphinx-alabaster-theme-0.7))))))
+
+(define-public python2-sphinx-alabaster-theme-0.7
+  (let ((base (package-with-python2 (strip-python2-variant
+                                     python-sphinx-alabaster-theme-0.7))))
+    (package
+      (inherit base)
+      (native-inputs `(("python2-setuptools" ,python2-setuptools)
+                       ,@(package-native-inputs base))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]