languagetool: add command for HTTP server
This commit is contained in:
parent
4c263586f6
commit
6798212571
@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
|
|||||||
EXE
|
EXE
|
||||||
chmod +x $out/bin/$lt
|
chmod +x $out/bin/$lt
|
||||||
done
|
done
|
||||||
|
cat > $out/bin/languagetool-http-server <<EXE
|
||||||
|
#!${stdenv.shell}
|
||||||
|
${jdk}/bin/java -cp $out/share/languagetool-server.jar org.languagetool.server.HTTPServer "\$@"
|
||||||
|
EXE
|
||||||
|
chmod +x $out/bin/languagetool-http-server
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user