From patchwork Sat Sep 18 19:12:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 33191 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3FF2B27BBE3; Sat, 18 Sep 2021 20:20:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0535627BBE1 for ; Sat, 18 Sep 2021 20:20:24 +0100 (BST) Received: from localhost ([::1]:40554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRfst-0006H0-3q for patchwork@mira.cbaines.net; Sat, 18 Sep 2021 15:20:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRflm-00050J-0t for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53642) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRfll-0007zv-O6 for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRfll-0004zc-Jh for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] [PATCH 18/19] gnu: Add python-speech-recognition. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 18 Sep 2021 19:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50663 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "50663@debbugs.gnu.org" <50663@debbugs.gnu.org> Received: via spool by 50663-submit@debbugs.gnu.org id=B50663.163199234819137 (code B ref 50663); Sat, 18 Sep 2021 19:13:01 +0000 Received: (at 50663) by debbugs.gnu.org; 18 Sep 2021 19:12:28 +0000 Received: from localhost ([127.0.0.1]:36952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRflD-0004yb-Q6 for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:12:28 -0400 Received: from mail-4323.protonmail.ch ([185.70.43.23]:62231) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRflC-0004yO-3b for 50663@debbugs.gnu.org; Sat, 18 Sep 2021 15:12:26 -0400 Date: Sat, 18 Sep 2021 19:12:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631992340; bh=bxThLrpDc7KTlKeCPunTbpKoWp4eJ9M4tu2v0UTTpFg=; h=Date:To:From:Reply-To:Subject:From; b=xq6C68bUGosbg3ejTV+zdDBgepL00CMY2Cj+y2REeWkG2tixjXoc6kEteIUHDLHht Te5T4xhRY5qYFMkKnFkdOO9uOLh5pR4pC9HNY3QJ44PK5O1H5679ORTbAJcbjwdVM1 3mxFFnhOSq7QqIRYZjbmX3RLX27Ox0SWh3BE4AiM= Message-ID: MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-xyz.scm (python-speech-recognition): New variable. --- 2.32.0 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")