From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0nvgMBw8RmH7JgEAgWs5BA (envelope-from ) for ; Sat, 18 Sep 2021 21:21:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id tdikKxw8RmFhLAAAB5/wlQ (envelope-from ) for ; Sat, 18 Sep 2021 19:21:00 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5F5846CFD for ; Sat, 18 Sep 2021 21:21:00 +0200 (CEST) Received: from localhost ([::1]:41000 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRftT-0006g6-Dk for larch@yhetil.org; Sat, 18 Sep 2021 15:20:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRflm-00051o-Da for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mRflm-00080p-41 for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mRfll-0004zj-W4 for guix-patches@gnu.org; Sat, 18 Sep 2021 15:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50663] [PATCH 19/19] gnu: Add python-mycroft-core. 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.163199237419180 (code B ref 50663); Sat, 18 Sep 2021 19:13:01 +0000 Received: (at 50663) by debbugs.gnu.org; 18 Sep 2021 19:12:54 +0000 Received: from localhost ([127.0.0.1]:36955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRfle-0004zG-2X for submit@debbugs.gnu.org; Sat, 18 Sep 2021 15:12:54 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:41031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mRflc-0004z4-5M for 50663@debbugs.gnu.org; Sat, 18 Sep 2021 15:12:52 -0400 Date: Sat, 18 Sep 2021 19:12:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1631992361; bh=BSQAzbsI/pzxp6pjNfIwgjFBunHsVVKiFjFtSvjzu5k=; h=Date:To:From:Reply-To:Subject:From; b=tIg3U1WvBJYxc/piAndKDl4MMBabirfujEsTHi72SDq32qqGEvMRZ2+pNoCUZB1mr W6yHhwfnmfaRoPDUcTZ/nD63ogF+w2K0SXlcGRIbXcgVPsoEe87Grm7YnGtZ9R3euz D0FOGUae8U/d5YSjxAxNME+YdzBX4fnGmHcQYmsw= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631992860; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=BSQAzbsI/pzxp6pjNfIwgjFBunHsVVKiFjFtSvjzu5k=; b=dIpFZzQRIC3Abg95nd6M7eOiIYosYXWliZ09ZNBSZXBoz5eN8VcnOPsj3NgHUDhHncAQAj HjthngI85Ipz3SOHha6fZt6Y9YxLHx8nuJqYxW8N2+VXWkUSW0uejV3F6pMXqjb2r6m/gR SrLyR7WlimK8gTThHCFlWHCQb56zWIUVsF7Zh+6Tz+DaIcFokqaj5ykTYEbB9nLm+b3m+s KcXEYpKJB4+TtirkWlsJvhs0+nzUU5PMx7jmlMM0EI2a0werm8v+Zk1PrrXkn5LeNtL81G 8I6vwvJcVYlXiI2HHD0l1hLTxBYriJCp4MfDmGdmLwTnEBg13UMk1uswxQWbTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631992860; a=rsa-sha256; cv=none; b=vCYl+IyymU4CRGCuJdmCs69mh5NzZgNWAyeStDGYG45safIRsR87CiVWdwcxGsRnZq95MV cqMlbxhaZ0OpAK3IdLjJ4aSEuM6x3d7BuNbc6yYyebhSEAFQ0ixdJMayaT1JCd7ufYUZrU vYA8Y6x8wjk6/+utleNlm0BCuIegZVSkDupChcwgM3+Oz9rp925xrveaG+idDQvAlrtwbZ qmNAe1Na6w3Yeu21Jh3EbCFEru2h2TEUIGhjjyQ/JFc+5UbuR9QLe71cPHyVhrZWnAp99k wmIKJceP3tlIWASsgOy0XXs4abJSspcgZIsQDuSX0oe/VRkmyZXMNdzoDzMcCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=tIg3U1Wv; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.39 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=tIg3U1Wv; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 5F5846CFD X-Spam-Score: -1.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: UniG6uBXWl2e * gnu/packages/python-xyz.scm (python-mycroft-core): New variable. diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0af13a0423..fcb936e31e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -202,6 +202,7 @@ #:use-module (gnu packages search) #:use-module (gnu packages serialization) #:use-module (gnu packages shells) + #:use-module (gnu packages speech) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) #:use-module (gnu packages swig) @@ -20725,6 +20726,87 @@ working with iterables.") (propagated-inputs `(("python2-six" ,python2-six-bootstrap))))) +(define-public python-mycroft-core + (package + (name "python-mycroft-core") + (version "21.2.1") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/MycroftAI/mycroft-core") + (commit (string-append "release/v" version)))) + (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet '(begin + ;; Use newer version of pkg + (substitute* "requirements/requirements.txt" + (("tornado=3D=3D") "tornado>=3D")) + (substitute* "requirements/requirements.txt" + (("pyserial=3D=3D") "pyserial>=3D")) + (substitute* "requirements/requirements.txt" + (("psutil=3D=3D") "psutil>=3D")) + (substitute* "requirements/requirements.txt" + (("pocketsphinx=3D=3D") "pocketsphinx>=3D")) + (substitute* "requirements/requirements.txt" + (("python-dateutil=3D=3D") "python-dateutil>=3D")) + (substitute* "requirements/requirements.txt" + (("fasteners=3D=3D") "fasteners>=3D")) + (substitute* "requirements/requirements.txt" + (("PyYAML=3D=3D5.4") "PyYAML>=3D5.3.1")) + (substitute* "requirements/requirements.txt" + (("pyxdg=3D=3D") "pyxdg>=3D")) + #t)) + (sha256 + (base32 + "1v5yb48y3zr4s0cgkid8y1zsi6x1wrhy1jfb9axzi090ammgy700")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (setenv "PYTHONPATH" + (string-append "./build/lib:" (getenv "PYTHONPATH")))))))= ) + (inputs `(("mycroft-mimic" ,mycroft-mimic) + ("pocketsphinx" ,pocketsphinx))) + (propagated-inputs + `(("python-fasteners" ,python-fasteners) + ("python-inflection" ,python-inflection) + ("python-pyxdg" ,python-pyxdg) + ("python-mycroft-messagebus-client" + ,python-mycroft-messagebus-client) + ("python-psutil" ,python-psutil) + ("python-tornado" ,python-tornado-6) + ("python-petact" ,python-petact) + ("python-precise-runner" ,python-precise-runner) + ("python-padaos" ,python-padaos) + ("python-speech-recoginition" ,python-speech-recognition) + ("python-padatious" ,python-padatious) + ("python-msk" ,python-msk) + ("python-pillow" ,python-pillow) + ("python-gtts" ,python-gtts) + ("python-requests-futures" ,python-requests-futures) + ("python-pyserial" ,python-pyserial) + ("python-pocketsphinx" ,python-pocketsphinx) + ("python-adapt-parser" ,python-adapt-parser) + ("python-lingua-franca" ,python-lingua-franca) + ("python-pyyaml" ,python-pyyaml) + ("python-fasteners" ,python-fasteners) + ("python-pyee" ,python-pyee) + ("python-psutil" ,python-psutil) + ("python-fann2" ,python-fann2) + ("python-pyxdg" ,python-pyxdg) + ("python-websocket-client" ,python-websocket-client) + ("python-requests" ,python-requests) + ("python-requests-futures" + ,python-requests-futures))) + (home-page "https://github.com/HelloChatterbox/HolmesIV") + (synopsis "Mycroft Core, the Mycroft Artificial Intelligence platform"= ) + (description "This module provides a hackable open source voice assist= ant - Mycroft") + (license license:asl2.0))) + (define-public python-mycroft-messagebus-client (package (name "python-mycroft-messagebus-client") -- 2.32.0