Subject: [bug#50663] [PATCH 04/19] gnu: Add python-precise-runner.

From: phodina <[email-masked]>
Date: Sat, 18 Sep 2021 18:59:28 +0000

* gnu/packages/python-xyz.scm (python-precise-runner): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b2d7a290e6..4fe8748931 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -133,6 +133,7 @@
   #:use-module (gnu packages adns)
   #:use-module (gnu packages aidc)
   #:use-module (gnu packages attr)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages backup)
   #:use-module (gnu packages bash)
   #:use-module (gnu packages check)
@@ -22094,6 +22095,26 @@ multi-language pre-commit hooks.")
 RFC 8265 and RFC 8266.")
     (license license:expat)))

+(define-public python-precise-runner
+  (package
+    (name "python-precise-runner")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "precise-runner" version))
+       (sha256
+        (base32
+         "13zbxd8yccsk67b5ksrjf7206krwxj2s3q07x9pnhrrn8k6hkn45"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-pyaudio" ,python-pyaudio)))
+    (home-page "https://github.com/MycroftAI/mycroft-precise")
+    (synopsis "Wrapper to use Mycroft Precise Wake Word Listener")
+    (description "Audio stream monitoring wrapper which triggers an event when
+it recognizes a specific phrase.")
+    (license license:asl2.0)))
+
 (define-public python-absl-py
   (package
     (name "python-absl-py")
--
2.32.0