guix-devel
[Top][All Lists]
Advanced

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

[PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme.


From: Danny Milosavljevic
Subject: [PATCH v4 3/3] gnu: Add python-sphinx-alabaster-theme.
Date: Wed, 4 Jan 2017 21:43:14 +0100

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

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index e93e827de..d80296339 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11743,6 +11743,32 @@ related extensions.")
 (define-public python2-sphinx-cloud-sptheme
   (package-with-python2 (strip-python2-variant python-sphinx-cloud-sptheme)))
 
+(define-public python-sphinx-alabaster-theme
+  (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)
+    (propagated-inputs
+     `(("python-pygments" ,python-pygments)))
+    (home-page "https://alabaster.readthedocs.io/";)
+    (synopsis "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))))))
+
+(define-public python2-sphinx-alabaster-theme
+  (package-with-python2 (strip-python2-variant
+                                     python-sphinx-alabaster-theme)))
+
 (define-public python-betamax
   (package
     (name "python-betamax")



reply via email to

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