git.iko.soy/typeable/nixpkgs
on master help sign in
deepspeech,stt: deprecate deepspeech in favor of stt

Mozilla fired the team and they founded a new company to continue their work https://github.com/NixOS/nixpkgs/issues/119496

commit2abcc9b3f9df3b2ca8ab25ee3a700ebbfd1bf749 authorRoman Volosatovs <rvolosatovs@riseup.net> dateWed 5 May 2021, 16:43 (6 years ago) parent33b0e0d
3 files changed+11−10
pkgs/tools/audio/stt/default.nix+8−8 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix+2−2
pkgs/tools/audio/stt/default.nix+8−8
@@ -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 ];
pkgs/top-level/aliases.nix+1
@@ -167,6 +167,7 @@ mapAliases ({
167167 deadpixi-sam = deadpixi-sam-unstable;
168168 debian_devscripts = debian-devscripts; # added 2016-03-23
169169 deepin = throw "deepin was a work in progress and it has been canceled and removed https://github.com/NixOS/nixpkgs/issues/94870"; # added 2020-08-31
170+ deepspeech = throw "deepspeech was removed in favor of stt. https://github.com/NixOS/nixpkgs/issues/119496"; # added 2021-05-05
170171 desktop_file_utils = desktop-file-utils; # added 2018-02-25
171172 devicemapper = lvm2; # added 2018-04-25
172173 digikam5 = digikam; # added 2017-02-18
pkgs/top-level/all-packages.nix+2−2
@@ -28568,6 +28568,8 @@ in
2856828568
2856928569 streamlit = python3Packages.callPackage ../applications/science/machine-learning/streamlit { };
2857028570
28571+ stt = callPackage ../tools/audio/stt { };
28572+
2857128573 stuntrally = callPackage ../games/stuntrally {
2857228574 ogre = ogre1_9;
2857328575 mygui = mygui.override {
@@ -30066,8 +30068,6 @@ in
3006630068
3006730069 dbus-map = callPackage ../tools/misc/dbus-map { };
3006830070
30069− deepspeech = callPackage ../misc/deepspeech { };
30070−
3007130071 dell-530cdn = callPackage ../misc/drivers/dell-530cdn {};
3007230072
3007330073 demjson = with python3Packages; toPythonApplication demjson;