Merge pull request #91718 from mothsART/feature/package-gspeech-with-sox

gSpeech: 0.9.2 -> 0.10.1
This commit is contained in:
Lassulus 2020-08-21 16:55:55 +02:00 committed by GitHub
commit 6979b3950c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "gSpeech";
version = "0.9.2";
version = "0.10.1";
src = fetchFromGitHub {
owner = "mothsart";
repo = pname;
rev = version;
sha256 = "11pvdpb9jjssp8nmlj21gs7ncgfm89kw26mfc8c2x8w2q4h92ja3";
sha256 = "1i0jwgxcn94nsi7c0ad0w77y04g04ka2szijzfqzqfnacdmdyrfc";
};
nativeBuildInputs = [
@ -56,8 +56,8 @@ python3.pkgs.buildPythonApplication rec {
];
postFixup = ''
wrapProgram $out/bin/gspeech --prefix PATH : ${lib.makeBinPath [ picotts ]}
wrapProgram $out/bin/gspeech-cli --prefix PATH : ${lib.makeBinPath [ picotts ]}
wrapProgram $out/bin/gspeech --prefix PATH : ${lib.makeBinPath [ picotts sox ]}
wrapProgram $out/bin/gspeech-cli --prefix PATH : ${lib.makeBinPath [ picotts sox ]}
'';
strictDeps = false;