summary refs log tree commit diff
path: root/pkgs/applications/misc/flite/default.nix
blob: 291cce6c1f9e27bcb4202a9c4500febab5b66c0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
args:
args.stdenv.mkDerivation {
  name = "flite-1.3-release";

  src = args.fetchurl {
    url = http://www.speech.cs.cmu.edu/flite/packed/flite-1.3/flite-1.3-release.tar.gz;
    sha256 = "12wanxx57bbqgkag54dlqzv6h2kr9053p0z8mkxs0mqy03vja8lj";
  };

  buildPhase = "
    unset buildPhase
    ensureDir \$out/lib
    buildPhase
  ";

  installPhase = "
    ensureDir \$out/share/flite
    cp -r bin \$out
  ";

  buildInputs = (with args; []);

  meta = { 
      description = "Flite text to speech engine";
      homepage = http://www.speech.cs.cmu.edu/flite/download.html;
      license = "BSD as-is";
  };
}