diff options
Diffstat (limited to 'pkgs/applications/audio/eflite/default.nix')
-rw-r--r-- | pkgs/applications/audio/eflite/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/applications/audio/eflite/default.nix b/pkgs/applications/audio/eflite/default.nix new file mode 100644 index 00000000000..36fbdbc2cc9 --- /dev/null +++ b/pkgs/applications/audio/eflite/default.nix @@ -0,0 +1,32 @@ +{stdenv,fetchurl,flite,alsaLib,debug ? false}: + +stdenv.mkDerivation rec { + name = "eflite-${version}"; + version = "0.4.1"; + src = fetchurl { + url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${name}.tar.gz"; + sha256 = "088p9w816s02s64grfs28gai3lnibzdjb9d1jwxzr8smbs2qbbci"; + }; + buildInputs = [ flite alsaLib ]; + configureFlags = "flite_dir=${flite} --with-audio=alsa --with-vox=cmu_us_kal16"; + patches = [ + ./buf-overflow.patch + ./cvs-update.patch + ./link.patch + ./format.patch + ]; # Patches are taken from debian. + CFLAGS = stdenv.lib.optionalString debug " -DDEBUG=2"; + meta = { + homepage = http://eflite.sourceforge.net; + description = "EFlite is a speech server for screen readers"; + longDescription = '' + EFlite is a speech server for Emacspeak and other screen + readers that allows them to interface with Festival Lite, + a free text-to-speech engine developed at the CMU Speech + Center as an off-shoot of Festival. + ''; + license = stdenv.lib.licenses.gpl2; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ jhhuh ]; + }; +} |