nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, alsaLib }:
2
3stdenv.mkDerivation rec {
4 name = "flite-2.1.0";
5
6 src = fetchFromGitHub {
7 owner = "festvox";
8 repo = "flite";
9 rev = "d673f65b2c4a8cd3da7447079309a6dc4bcf1a5e";
10 sha256 = "1kx43jvdln370590gfjhxxz3chxfi6kq18504wmdpljib2l0grjq";
11 };
12
13 buildInputs = [ alsaLib ];
14
15 configureFlags = [
16 "--enable-shared"
17 "--with-audio=alsa"
18 ];
19
20 enableParallelBuilding = true;
21
22 meta = {
23 description = "A small, fast run-time speech synthesis engine";
24 homepage = http://www.festvox.org/flite/;
25 license = stdenv.lib.licenses.free;
26 platforms = stdenv.lib.platforms.linux;
27 };
28}