From 3ca8914bb993b6e23ffcd5836d932d9003a6d7b0 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Sat, 18 Sep 2021 18:44:39 +0200 Subject: [PATCH 18/20] gnu: Add python-speech-recognition. * 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 eb902b95a2..03f734169d 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5631,6 +5631,31 @@ (define-public python-spectra (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.34.0