wyoming-openwakeword: 1.5.1 -> 1.8.1

https://github.com/rhasspy/wyoming-openwakeword/blob/v1.8.1/CHANGELOG.md

+12 -22
+12 -22
pkgs/tools/audio/wyoming/openwakeword.nix
··· 1 1 { lib 2 - , python3 3 2 , python3Packages 4 3 , fetchFromGitHub 5 4 , fetchpatch 6 5 }: 7 6 8 - python3.pkgs.buildPythonApplication { 7 + python3Packages.buildPythonApplication rec { 9 8 pname = "wyoming-openwakeword"; 10 - version = "1.5.1"; 9 + version = "1.8.1"; 11 10 pyproject = true; 12 11 13 12 src = fetchFromGitHub { 14 13 owner = "rhasspy"; 15 - repo = "rhasspy3"; 16 - rev = "e16d7d374a64f671db48142c7b635b327660ebcf"; 17 - hash = "sha256-SbWsRmR1hfuU3yJbuu+r7M43ugHeNwLgu5S8MqkbCQA="; 14 + repo = "wyoming-openwakeword"; 15 + rev = "refs/tags/v${version}"; 16 + hash = "sha256-N/EjdNQLsYLpJ4kOxY/z+/dMMmF1PPAIEEzSHfnZWaM="; 18 17 }; 19 18 20 19 patches = [ 21 20 (fetchpatch { 22 21 # import tflite entrypoint from tensorflow 23 - url = "https://github.com/rhasspy/rhasspy3/commit/23b1bc9cf1e9aa78453feb11e27d5dafe26de068.patch"; 24 - hash = "sha256-fjLJ+VI4c8ABBWx1IjZ6nS8MGqdry4rgcThKiaAvz+Q="; 22 + url = "https://github.com/rhasspy/wyoming-openwakeword/commit/8f4ba2750d8c545e77549a7230cdee1301dac09a.patch"; 23 + hash = "sha256-WPvywpGv0sYYVGc7he4bt7APIsa3ziKaWqpFlx3v+V8="; 25 24 }) 26 25 (fetchpatch { 27 26 # add commandline entrypoint 28 - url = "https://github.com/rhasspy/rhasspy3/commit/7662b82cd85e16817a3c6f4153e855bf57436ac3.patch"; 29 - hash = "sha256-41CLkVDSAJJpZ5irwIf/Z4wHoCuKDrqFBAjKCx7ta50="; 27 + url = "https://github.com/rhasspy/wyoming-openwakeword/commit/f40e5635543b2315217538dd89a9fe40fe817cfe.patch"; 28 + hash = "sha256-HNlGqt7bMzwyvhx5Hw7mkTHeQmBpgDCU3pUbZzss1bY="; 30 29 }) 31 30 ]; 32 31 33 - postPatch = '' 34 - cd programs/wake/openwakeword-lite/server 35 - ''; 36 - 37 32 nativeBuildInputs = with python3Packages; [ 38 33 setuptools 39 - wheel 40 34 ]; 41 35 42 36 propagatedBuildInputs = with python3Packages; [ 43 - tensorflow-bin 44 - webrtc-noise-gain 37 + tensorflow 45 38 wyoming 46 39 ]; 47 40 48 - passthru.optional-dependencies.webrtc = with python3Packages; [ 49 - webrtc-noise-gain 50 - ]; 51 - 52 41 pythonImportsCheck = [ 53 42 "wyoming_openwakeword" 54 43 ]; 55 44 56 45 meta = with lib; { 46 + changelog = "https://github.com/rhasspy/wyoming-openwakeword/blob/v${version}/CHANGELOG.md"; 57 47 description = "An open source voice assistant toolkit for many human languages"; 58 - homepage = "https://github.com/rhasspy/rhasspy3/commit/fe44635132079db74d0c76c6b3553b842aa1e318"; 48 + homepage = "https://github.com/rhasspy/wyoming-openwakeword"; 59 49 license = licenses.mit; 60 50 maintainers = with maintainers; [ hexa ]; 61 51 mainProgram = "wyoming-openwakeword";