diff options
Diffstat (limited to 'pkgs/applications/misc/flite/default.nix')
-rw-r--r-- | pkgs/applications/misc/flite/default.nix | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/pkgs/applications/misc/flite/default.nix b/pkgs/applications/misc/flite/default.nix index ad3b9df164d4..8a2414ec885a 100644 --- a/pkgs/applications/misc/flite/default.nix +++ b/pkgs/applications/misc/flite/default.nix @@ -1,4 +1,5 @@ -args: with args; +{ stdenv, fetchurl }: + stdenv.mkDerivation { name = "flite-1.3-release"; @@ -7,20 +8,22 @@ stdenv.mkDerivation { sha256 = "12wanxx57bbqgkag54dlqzv6h2kr9053p0z8mkxs0mqy03vja8lj"; }; - buildPhase = " - unset buildPhase - ensureDir \$out/lib - buildPhase - "; + buildPhase = + '' + unset buildPhase + ensureDir $out/lib + buildPhase + ''; - installPhase = " - ensureDir \$out/share/flite - cp -r bin \$out - "; + 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"; + description = "Flite text to speech engine"; + homepage = http://www.speech.cs.cmu.edu/flite/download.html; + license = "BSD as-is"; }; } |