languagetool: add command for HTTP server

This commit is contained in:
Théo Zimmermann 2017-10-31 16:05:41 +01:00 committed by Edward Tjörnhammar
parent 4c263586f6
commit 6798212571

View File

@ -20,6 +20,11 @@ stdenv.mkDerivation rec {
EXE
chmod +x $out/bin/$lt
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; {