nixpkgs/pkgs/applications/misc/flite/default.nix
Yury G. Kudryashov 5bca69ac34 Nix-expr style review
Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.

Also removed several
buildInputs = [];
lines.

svn path=/nixpkgs/trunk/; revision=10415
2008-01-30 17:20:48 +00:00

27 lines
578 B
Nix

args: with args;
stdenv.mkDerivation {
name = "flite-1.3-release";
src = 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
";
meta = {
description = "Flite text to speech engine";
homepage = http://www.speech.cs.cmu.edu/flite/download.html;
license = "BSD as-is";
};
}