Merge master into staging-next
This commit is contained in:
34
pkgs/tools/audio/stt/default.nix
Normal file
34
pkgs/tools/audio/stt/default.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ stdenv, lib, fetchurl, autoPatchelfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "stt";
|
||||
version = "0.9.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/coqui-ai/STT/releases/download/v${version}/native_client.tf.Linux.tar.xz";
|
||||
sha256 = "0axwys8vis4f0m7d1i2r3dfqlc8p3yj2nisvc7pdi5qs741xgy8w";
|
||||
};
|
||||
setSourceRoot = "sourceRoot=`pwd`";
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D stt $out/bin/stt
|
||||
install -D coqui-stt.h $out/include/coqui-stt.h
|
||||
install -D libstt.so $out/lib/libstt.so
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://github.com/coqui-ai/STT;
|
||||
description = "Deep learning toolkit for Speech-to-Text, battle-tested in research and production";
|
||||
license = licenses.mpl20;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ rvolosatovs ];
|
||||
};
|
||||
}
|
||||
@@ -5,13 +5,13 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "ipinfo";
|
||||
version = "1.1.4";
|
||||
version = "1.1.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = "cli";
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "1j50bbq7skbh1pffkmrbs1cyz2x22bniwcdw27rjzmvjixs4wj6h";
|
||||
sha256 = "16i5vmx39j7l5mhs28niapki9530nsbw6xik8rsky55v9i5pr72d";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
Reference in New Issue
Block a user