diff options
author | Alexander Foremny <aforemny@posteo.de> | 2022-12-26 20:38:45 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2022-12-26 20:46:13 +0100 |
commit | c5f3de74cad8fa425fd249689c8bbdd24421f9ab (patch) | |
tree | eaed20070ff7cf25830b381c09a076c16ae0b033 /pkgs/tools/audio | |
parent | 1eb875e811dd59e21e77f6337f2c1592889b48b3 (diff) |
stt: 0.9.3 -> 1.4.0
Closes #193775
Diffstat (limited to 'pkgs/tools/audio')
-rw-r--r-- | pkgs/tools/audio/stt/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/tools/audio/stt/default.nix b/pkgs/tools/audio/stt/default.nix index 91e18f409a219..31256c191eccb 100644 --- a/pkgs/tools/audio/stt/default.nix +++ b/pkgs/tools/audio/stt/default.nix @@ -1,12 +1,12 @@ -{ stdenv, lib, fetchurl, autoPatchelfHook }: +{ stdenv, lib, fetchurl, autoPatchelfHook, bzip2, lzma }: stdenv.mkDerivation rec { pname = "stt"; - version = "0.9.3"; + version = "1.4.0"; src = fetchurl { - url = "https://github.com/coqui-ai/STT/releases/download/v${version}/native_client.tf.Linux.tar.xz"; - sha256 = "0axwys8vis4f0m7d1i2r3dfqlc8p3yj2nisvc7pdi5qs741xgy8w"; + url = "https://github.com/coqui-ai/STT/releases/download/v${version}/native_client.tflite.Linux.tar.xz"; + hash = "sha256-RVYc64pLYumQoVUEFZdxfUUaBMozaqgD0h/yiMaWN90="; }; setSourceRoot = "sourceRoot=`pwd`"; @@ -15,12 +15,16 @@ stdenv.mkDerivation rec { ]; buildInputs = [ + bzip2 + lzma stdenv.cc.cc.lib ]; installPhase = '' install -D stt $out/bin/stt install -D coqui-stt.h $out/include/coqui-stt.h + install -D libkenlm.so $out/lib/libkenlm.so + install -D libsox.so.3 $out/lib/libsox.so.3 install -D libstt.so $out/lib/libstt.so ''; |