Subject: [bug#38631] [PATCH] gnu: Add python-sphinx-intl

From: Alexandros Theodotou <[email-masked]>
Date: Mon, 16 Dec 2019 04:42:22 +0000

From 4b2f0f172bf69f24c92273a2307a05ad18bf0bcb Mon Sep 17 00:00:00 2001
From: Alexandros Theodotou <[email-masked]>
Date: Mon, 16 Dec 2019 04:39:44 +0000
Subject: [PATCH] gnu: Add python-sphinx-intl

* gnu/packages/sphinx.scm (python-sphinx-intl): New variable.
---
 gnu/packages/sphinx.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index b74137362c..d424d94414 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -11,6 +11,7 @@
 ;;; Copyright © 2017 Julien Lepiller <[email-masked]>
 ;;; Copyright © 2019 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2019 Nicolas Goaziou <[email-masked]>
+;;; Copyright © 2019 Alexandros Theodotou <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -565,3 +566,26 @@ and several other projects.")
     (description "This package is an extension to reStructuredText and Sphinx
 to be able to read and render the Doxygen xml output.")
     (license license:bsd-3)))
+
+(define-public python-sphinx-intl
+  (package
+    (name "python-sphinx-intl")
+    (version "2.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sphinx-intl" version))
+       (sha256
+        (base32
+         "0zbf1bh23b3kza8bnjykmv2k21xmmr4gamhi3lnicnr6ypnrphr5"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-sphinx" ,python-sphinx)
+       ("python-click" ,python-click)))
+    (home-page "https://github.com/sphinx-doc/sphinx-intl")
+    (synopsis
+      "Sphinx utility that makes it easy to translate and to apply translation")
+    (description
+      "sphinx-intl is a utility tool that provides several features that make
+it easy to translate and to apply translation to Sphinx generated document.")
+    (license license:bsd-2)))
-- 
2.24.1