mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Added FreeTTS package
svn path=/nixpkgs/trunk/; revision=17577
This commit is contained in:
parent
bcb1747ccf
commit
0dbef3fe64
37
pkgs/development/libraries/freetts/default.nix
Normal file
37
pkgs/development/libraries/freetts/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue