3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #120598 from beardhatcode/bump/language-tool

languagetool: 5.2 -> 5.3
This commit is contained in:
ajs124 2021-04-26 02:21:43 +02:00 committed by GitHub
commit 927ede4a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,18 @@
stdenv.mkDerivation rec {
pname = "LanguageTool";
version = "5.2";
version = "5.3";
src = fetchzip {
url = "https://www.languagetool.org/download/${pname}-${version}.zip";
sha256 = "1fz3rxqg5z2jxbalraz8lwkzj0jh69zzfmf3vpwywilvl7xlhdrd";
sha256 = "1km20ajqb65vkhkrf94zy5srcss66ix8padp7ng59pa8pj11wmi2";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
installPhase = ''
runHook preInstall
mkdir -p $out/share
mv -- * $out/share/
@ -22,6 +24,8 @@ stdenv.mkDerivation rec {
makeWrapper ${jre}/bin/java $out/bin/languagetool-http-server \
--add-flags "-cp $out/share/languagetool-server.jar org.languagetool.server.HTTPServer"
runHook postInstall
'';
meta = with lib; {