guix-patches
[Top][All Lists]
Advanced

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

[bug#50663] [PATCH 12/19] gnu: Add python-lingua-franca.


From: phodina
Subject: [bug#50663] [PATCH 12/19] gnu: Add python-lingua-franca.
Date: Sat, 18 Sep 2021 19:03:58 +0000

* gnu/packages/python-xyz.scm (python-lingua-franca): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6f03518ea8..5c068ee17b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19348,6 +19348,35 @@ lines are read from a single file.")
 (define-public python2-linecache2
   (package-with-python2 python-linecache2))

+(define-public python-lingua-franca
+  (package
+    (name "python-lingua-franca")
+    (version "v0.4.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri
+          (git-reference
+            (url "https://github.com/MycroftAI/lingua-franca";)
+            (commit (string-append "release/" version))))
+        (file-name (git-file-name name version))
+        (modules '((guix build utils)))
+        (snippet '(begin
+                     ;; Use newer version of pkg
+                     (substitute* "requirements.txt"
+                        (("python-dateutil==") "python-dateutil>="))
+                     #t))
+        (sha256
+          (base32
+            "1qrd1jdi57lv9q3h1g18sg1whgxsmij7x3jw6p608cnhpssf92dr"))))
+    (build-system python-build-system)
+    (propagated-inputs
+      `(("python-dateutil" ,python-dateutil)))
+    (home-page "https://github.com/MycroftAI/lingua-franca";)
+    (synopsis "Mycroft's multilingual text parsing and formatting library")
+    (description "Converts data into spoken equivalents.")
+    (license license:asl2.0)))
+
 (define-public python-traceback2
   (package
     (name "python-traceback2")
--
2.32.0





reply via email to

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