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