@@ -1,12 +1,12 @@
11{ stdenv, lib, fetchurl, autoPatchelfHook }:
22
33stdenv.mkDerivation rec {
4− pname = "deepspeech";
4+ pname = "stt";
55 version = "0.9.3";
66
77 src = fetchurl {
8− url = "https://github.com/mozilla/DeepSpeech/releases/download/v${version}/native_client.amd64.cpu.linux.tar.xz";
9− sha256 = "1qy2gspprcxi76jk06ljp028xl0wkk1m3mqaxyf5qbhhfbvvpfap";
8+ url = "https://github.com/coqui-ai/STT/releases/download/v${version}/native_client.tf.Linux.tar.xz";
9+ sha256 = "0axwys8vis4f0m7d1i2r3dfqlc8p3yj2nisvc7pdi5qs741xgy8w";
1010 };
1111 setSourceRoot = "sourceRoot=`pwd`";
1212
@@ -19,14 +19,14 @@ stdenv.mkDerivation rec {
1919 ];
2020
2121 installPhase = ''
22− install -D deepspeech $out/bin/deepspeech
23− install -D deepspeech.h $out/include/deepspeech.h
24− install -D libdeepspeech.so $out/lib/libdeepspeech.so
22+ install -D stt $out/bin/stt
23+ install -D coqui-stt.h $out/include/coqui-stt.h
24+ install -D libstt.so $out/lib/libstt.so
2525 '';
2626
2727 meta = with lib; {
28− homepage = https://github.com/mozilla/DeepSpeech;
29− description = "Open source embedded (offline, on-device) speech-to-text engine, which can run in real time on broad range of devices";
28+ homepage = https://github.com/coqui-ai/STT;
29+ description = "Deep learning toolkit for Speech-to-Text, battle-tested in research and production";
3030 license = licenses.mpl20;
3131 platforms = [ "x86_64-linux" ];
3232 maintainers = with maintainers; [ rvolosatovs ];