about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2024-02-20 04:43:53 +0100
committerGitHub <noreply@github.com>2024-02-20 04:43:53 +0100
commit2022fad92e002f1ae82ca8c9a045c7a994935f50 (patch)
tree562b3fa906f7191a434d4848002ed332479d0d65
parent93d85d6668cfc0fd7f131fd36a07601d7754c05d (diff)
parent040b45f979902e33216612ac0c3bf27cc979a452 (diff)
downloadnixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar.gz
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar.bz2
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar.lz
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar.xz
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.tar.zst
nixlib-2022fad92e002f1ae82ca8c9a045c7a994935f50.zip
Merge pull request #289041 from mweinelt/wyoming-openwakeword-1.9.0
wyoming-openwakeword: 1.8.1 -> 1.9.0
-rw-r--r--pkgs/tools/audio/wyoming/openwakeword.nix23
1 files changed, 7 insertions, 16 deletions
diff --git a/pkgs/tools/audio/wyoming/openwakeword.nix b/pkgs/tools/audio/wyoming/openwakeword.nix
index 83da563f3b3b..4c321a204b49 100644
--- a/pkgs/tools/audio/wyoming/openwakeword.nix
+++ b/pkgs/tools/audio/wyoming/openwakeword.nix
@@ -1,36 +1,27 @@
 { lib
 , python3Packages
 , fetchFromGitHub
-, fetchpatch
 }:
 
 python3Packages.buildPythonApplication rec {
   pname = "wyoming-openwakeword";
-  version = "1.8.1";
+  version = "1.9.0";
   pyproject = true;
 
   src = fetchFromGitHub {
     owner = "rhasspy";
     repo = "wyoming-openwakeword";
     rev = "refs/tags/v${version}";
-    hash = "sha256-N/EjdNQLsYLpJ4kOxY/z+/dMMmF1PPAIEEzSHfnZWaM=";
+    hash = "sha256-NceUFsIKZO6DOXae3QJ7JJGc7QdDHkMh20eLvl12p4U=";
   };
 
-  patches = [
-    (fetchpatch {
-      # import tflite entrypoint from tensorflow
-      url = "https://github.com/rhasspy/wyoming-openwakeword/commit/8f4ba2750d8c545e77549a7230cdee1301dac09a.patch";
-      hash = "sha256-WPvywpGv0sYYVGc7he4bt7APIsa3ziKaWqpFlx3v+V8=";
-    })
-    (fetchpatch {
-      # add commandline entrypoint
-      url = "https://github.com/rhasspy/wyoming-openwakeword/commit/f40e5635543b2315217538dd89a9fe40fe817cfe.patch";
-      hash = "sha256-HNlGqt7bMzwyvhx5Hw7mkTHeQmBpgDCU3pUbZzss1bY=";
-    })
-  ];
-
   nativeBuildInputs = with python3Packages; [
     setuptools
+    pythonRelaxDepsHook
+  ];
+
+  pythonRemoveDeps = [
+    "tflite-runtime-nightly"
   ];
 
   propagatedBuildInputs = with python3Packages; [