3
0
Fork 0
forked from mirrors/nixpkgs

flite: 2.1.0 -> 2.2

This commit is contained in:
Mario Rodas 2020-12-27 04:20:00 +00:00
parent db103e0f98
commit 099464edf0

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;
};
}