mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
freetts: add jdk buildInput (#18282)
This commit is contained in:
parent
55b8430f6f
commit
ceed162b1d
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, apacheAnt, unzip, sharutils, lib}:
|
||||
{stdenv, fetchurl, apacheAnt, unzip, sharutils, lib, jdk}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "freetts-1.2.2";
|
||||
@ -6,11 +6,11 @@ stdenv.mkDerivation {
|
||||
url = mirror://sourceforge/freetts/freetts-1.2.2-src.zip;
|
||||
sha256 = "0mnikqhpf4f4jdr0irmibr8yy0dnffx1i257y22iamxi7a6by2r7";
|
||||
};
|
||||
buildInputs = [ apacheAnt unzip sharutils ];
|
||||
buildInputs = [ apacheAnt unzip sharutils jdk ];
|
||||
unpackPhase = ''
|
||||
unzip $src -x META-INF/*
|
||||
'';
|
||||
|
||||
|
||||
buildPhase = ''
|
||||
cd */lib
|
||||
sed -i -e "s/more/cat/" jsapi.sh
|
||||
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user