forked from mirrors/nixpkgs
languagetool: add command for HTTP server
This commit is contained in:
parent
4c263586f6
commit
6798212571
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue