diff options
author | Sander van der Burg <s.vanderburg@tudelft.nl> | 2009-10-01 14:48:57 +0000 |
---|---|---|
committer | Sander van der Burg <s.vanderburg@tudelft.nl> | 2009-10-01 14:48:57 +0000 |
commit | 0dbef3fe64c17f0a20130579814fa5b6782da604 (patch) | |
tree | c06b1d78ac8f67f2df768e364ccdbd3acb4d29f4 /pkgs | |
parent | bcb1747ccf42d293415cefd31d8b733b9c593613 (diff) |
Added FreeTTS package
svn path=/nixpkgs/trunk/; revision=17577
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/freetts/default.nix | 37 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 41 insertions, 0 deletions
diff --git a/pkgs/development/libraries/freetts/default.nix b/pkgs/development/libraries/freetts/default.nix new file mode 100644 index 0000000000000..91d2c84252f04 --- /dev/null +++ b/pkgs/development/libraries/freetts/default.nix @@ -0,0 +1,37 @@ +{stdenv, fetchurl, apacheAnt, unzip, sharutils, lib}: + +stdenv.mkDerivation { + name = "freetts-1.2.2"; + src = fetchurl { + url = mirror://sourceforge/freetts/freetts-1.2.2-src.zip; + sha256 = "0mnikqhpf4f4jdr0irmibr8yy0dnffx1i257y22iamxi7a6by2r7"; + }; + buildInputs = [ apacheAnt unzip sharutils ]; + unpackPhase = '' + unzip $src -x META-INF/* + ''; + + buildPhase = '' + cd */lib + sed -i -e "s/more/cat/" jsapi.sh + echo y | sh jsapi.sh + cd .. + ln -s . src + ant + ''; + installPhase = '' + install -v -m755 -d $out/{lib,docs/{audio,images}} + install -v -m644 lib/*.jar $out/lib + ''; + + meta = { + description = "Text to speech system based on Festival written in Java"; + longDescription = '' + Text to speech system based on Festival written in Java. + Can be used in combination with KDE accessibility. + ''; + license = "GPL"; + homepage = http://freetts.sourceforge.net; + maintainers = [ lib.maintainers.sander ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d5ba6486f2a1b..48cc382473e9b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3169,6 +3169,10 @@ let inherit fetchurl stdenv unzip; }; + freetts = import ../development/libraries/freetts { + inherit stdenv fetchurl apacheAnt unzip sharutils lib; + }; + cfitsio = import ../development/libraries/cfitsio { inherit fetchurl stdenv; }; |