From: phodina via Guix-patches via <guix-patches@gnu.org>
To: "50663@debbugs.gnu.org" <50663@debbugs.gnu.org>
Subject: [bug#50663] [PATCH 19/19] gnu: Add python-mycroft-core.
Date: Sat, 18 Sep 2021 19:12:40 +0000 [thread overview]
Message-ID: <A7GxbtyWR9aUbxxsQL7CIU5ur19weZRZS6ciUPXLtRMOsXEmeGBRqQEbXHMTUxk8IGTeXt-fVsmIQyQ1am_yTmnJPpfmALNpNKzIjxRt4Co=@protonmail.com> (raw)
In-Reply-To: <qQ-NMjrokukHQud2psYiSbCZ9IpYwa0oatHWsznaPmngNBwHWaDqjE-NIb4plR7BF0snEHpfSGWL_RFYn5_fJ7kdg8lhZNDcW4O5YTfwwOE=@protonmail.com>
* 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==") "tornado>="))
+ (substitute* "requirements/requirements.txt"
+ (("pyserial==") "pyserial>="))
+ (substitute* "requirements/requirements.txt"
+ (("psutil==") "psutil>="))
+ (substitute* "requirements/requirements.txt"
+ (("pocketsphinx==") "pocketsphinx>="))
+ (substitute* "requirements/requirements.txt"
+ (("python-dateutil==") "python-dateutil>="))
+ (substitute* "requirements/requirements.txt"
+ (("fasteners==") "fasteners>="))
+ (substitute* "requirements/requirements.txt"
+ (("PyYAML==5.4") "PyYAML>=5.3.1"))
+ (substitute* "requirements/requirements.txt"
+ (("pyxdg==") "pyxdg>="))
+ #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 assistant - Mycroft")
+ (license license:asl2.0)))
+
(define-public python-mycroft-messagebus-client
(package
(name "python-mycroft-messagebus-client")
--
2.32.0
next prev parent reply other threads:[~2021-09-18 19:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-18 17:01 [bug#50663] [PATCH 01/18] gnu: Add python-pyee phodina via Guix-patches via
2021-09-18 17:04 ` [bug#50663] [PATCH 02/18] gnu: Add python-fann2 phodina via Guix-patches via
2021-09-18 18:58 ` [bug#50663] [PATCH 03/19] gnu: Add python-padaos phodina via Guix-patches via
2021-09-18 18:59 ` [bug#50663] [PATCH 04/19] gnu: Add python-precise-runner phodina via Guix-patches via
2021-09-18 18:59 ` [bug#50663] [PATCH 05/19] gnu: Add python-petact phodina via Guix-patches via
2021-09-18 19:00 ` [bug#50663] [PATCH 06/19] gnu: Add python-padatious phodina via Guix-patches via
2021-09-18 19:01 ` [bug#50663] [PATCH 07/19] gnu: Add python-lazy phodina via Guix-patches via
2021-09-18 19:01 ` [bug#50663] [PATCH 08/19] gnu: Add python-pako phodina via Guix-patches via
2021-09-18 19:02 ` [bug#50663] [PATCH 09/19] gnu: Add python-adapt-parser phodina via Guix-patches via
2021-09-18 19:03 ` [bug#50663] [PATCH 10/19] gnu: Add python-msm phodina via Guix-patches via
2021-09-18 19:03 ` [bug#50663] [PATCH 11/19] gnu: Add python-msk phodina via Guix-patches via
2021-09-18 19:03 ` [bug#50663] [PATCH 12/19] gnu: Add python-lingua-franca phodina via Guix-patches via
2021-09-18 19:04 ` [bug#50663] [PATCH 13/19] gnu: Add python-pocketsphinx phodina via Guix-patches via
2021-09-18 19:04 ` [bug#50663] [PATCH 14/19] gnu: Add python-gtts phodina via Guix-patches via
2021-09-18 19:11 ` [bug#50663] [PATCH 16/19] gnu: Add python-mycroft-messagebus-client phodina via Guix-patches via
2021-09-18 19:11 ` [bug#50663] [PATCH 17/19] gnu: Add mycroft-mimic phodina via Guix-patches via
2021-09-18 19:12 ` [bug#50663] [PATCH 18/19] gnu: Add python-speech-recognition phodina via Guix-patches via
2021-09-18 19:12 ` phodina via Guix-patches via [this message]
2021-09-18 19:16 ` [bug#50663] [PATCH 02/19] gnu: Add python-pyee phodina via Guix-patches via
2021-12-08 11:48 ` [bug#50663] Add Mycroft - Voice Assistant phodina via Guix-patches via
2022-01-24 22:45 ` Nicolas Goaziou
2022-01-25 10:49 ` Efraim Flashner
2022-01-26 12:53 ` phodina via Guix-patches via
2022-02-15 14:37 ` [bug#50663] [PATCH v3 1/2] gnu: Add python-xdg phodina via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='A7GxbtyWR9aUbxxsQL7CIU5ur19weZRZS6ciUPXLtRMOsXEmeGBRqQEbXHMTUxk8IGTeXt-fVsmIQyQ1am_yTmnJPpfmALNpNKzIjxRt4Co=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=50663@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.