guix-patches
[Top][All Lists]
Advanced

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

[bug#50663] [PATCH 18/19] gnu: Add python-speech-recognition.


From: phodina
Subject: [bug#50663] [PATCH 18/19] gnu: Add python-speech-recognition.
Date: Sat, 18 Sep 2021 19:12:16 +0000

* gnu/packages/python-xyz.scm (python-speech-recognition): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 84ad0ae37a..0af13a0423 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5340,6 +5340,31 @@ color scales, and color space conversion easy.  It has 
support for:
 (define-public python2-spectra
   (package-with-python2 python-spectra))

+(define-public python-speech-recognition
+  (package
+    (name "python-speech-recognition")
+    (version "3.8.1")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+         (url "https://github.com/Uberi/speech_recognition";)
+         (commit version)))
+        (file-name (git-file-name name version))
+        (sha256
+          (base32
+            "1lq6g4kl3y1b4ch3b6wik7xy743x6pp5iald0jb9zxqgyxy1zsz4"))))
+    (build-system python-build-system)
+    (arguments
+      ;; Attempts to aquire sound card
+      '(#:tests? #f))
+    (inputs `(("python-pyaudio" ,python-pyaudio)))
+    (home-page "https://github.com/Uberi/speech_recognition";)
+    (synopsis "Speech recognition module for Python")
+    (description "Library for performing speech recognition, with support for
+several engines and APIs, online and offline.")
+    (license license:bsd-2)))
+
 (define-public python-pyspnego
   (package
     (name "python-pyspnego")
--
2.32.0





reply via email to

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