help-debbugs
[Top][All Lists]
Advanced

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

bug#63049: [PATCH] Add support for the python i18n package to Guix


From: Graham James Addis
Subject: bug#63049: [PATCH] Add support for the python i18n package to Guix
Date: Fri, 21 Apr 2023 16:53:55 +0100

The package is built from source at https://github.com/danhper/python-i18n
and is available on PyPi here: https://pypi.org/project/python-i18n/
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 284f8019bb..ace316d746 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -135,6 +135,7 @@
 ;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch>
 ;;; Copyright © 2023 Amade Nemes <nemesamade@gmail.com>
 ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
+;;; Copyright © 2023 Graham James Addis <graham@addis.org.uk>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1600,6 +1601,29 @@ (define-public python-clyent
 by @code{binstar}, @code{binstar-build}, and @code{chalmers}.")
     (license license:bsd-3)))
 
+(define-public python-i18n
+  (package
+    (name "python-i18n")
+    (version "v0.3.9")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/danhper/python-i18n";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0c7fjx3znyp0d8p5c8nlny8bcaa4q2i4dzd436cfas3afsha2mp8"))))
+    (build-system python-build-system)
+
+    (inputs (list python-pyyaml))
+    (synopsis
+     "This library provides i18n functionality for Python 3 out of the box")
+    (description (string-append
+                  "This library provides i18n functionality for Python 3 out 
of the box.
The usage is mostly based on Rails i18n library."))
+    (home-page "https://github.com/danhper/python-i18n";)
+    (license license:expat)))
+
 (define-public python-babel
   (package
     (name "python-babel")
-- 
2.39.2







reply via email to

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