3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #107780 from marsam/update-flite

flite: 2.1.0 -> 2.2
This commit is contained in:
Mario Rodas 2020-12-28 06:59:51 -05:00 committed by GitHub
commit 7a7ada02f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,28 +1,28 @@
{ stdenv, fetchFromGitHub, alsaLib }: { stdenv, fetchFromGitHub, alsaLib }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "flite-2.1.0"; pname = "flite";
version = "2.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "festvox"; owner = "festvox";
repo = "flite"; repo = "flite";
rev = "d673f65b2c4a8cd3da7447079309a6dc4bcf1a5e"; rev = "v${version}";
sha256 = "1kx43jvdln370590gfjhxxz3chxfi6kq18504wmdpljib2l0grjq"; sha256 = "1n0p81jzndzc1rzgm66kw9ls189ricy5v1ps11y0p2fk1p56kbjf";
}; };
buildInputs = [ alsaLib ]; buildInputs = stdenv.lib.optionals stdenv.isLinux [ alsaLib ];
configureFlags = [ configureFlags = [
"--enable-shared" "--enable-shared"
"--with-audio=alsa" ] ++ stdenv.lib.optionals stdenv.isLinux [ "--with-audio=alsa" ];
];
enableParallelBuilding = true; enableParallelBuilding = true;
meta = { meta = with stdenv.lib; {
description = "A small, fast run-time speech synthesis engine"; description = "A small, fast run-time speech synthesis engine";
homepage = "http://www.festvox.org/flite/"; homepage = "http://www.festvox.org/flite/";
license = stdenv.lib.licenses.free; license = licenses.bsdOriginal;
platforms = stdenv.lib.platforms.linux; platforms = platforms.all;
}; };
} }