From cc13f0700b7b2c3f49e76a45b38f3f7a72a0d6a5 Mon Sep 17 00:00:00 2001 Message-Id: In-Reply-To: References: From: Petr Hodina Date: Mon, 24 Jan 2022 16:07:12 +0100 Subject: [PATCH v2 18/19] gnu: Add python-speech-recognition. * gnu/packages/python-xyz.scm (python-speech-recognition): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f3c05232e1..4353797e83 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5787,6 +5787,31 @@ (define-public python-spectra @end enumerate\n") (license license:expat))) +(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 (list python-pyaudio)) + (home-page "https://github.com/Uberi/speech_recognition") + (synopsis "Speech recognition module for Python") + (description "This package is a Python 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.34.0