5bca69ac34
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
27 lines
578 B
Nix
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";
|
|
};
|
|
}
|