Merge pull request #108912 from TredwellGit/languagetool

languagetool: 5.1 -> 5.2
This commit is contained in:
Sandro 2021-01-12 16:57:18 +01:00 committed by GitHub
commit d61322ad92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,18 +2,18 @@
stdenv.mkDerivation rec {
pname = "LanguageTool";
version = "5.1";
version = "5.2";
src = fetchzip {
url = "https://www.languagetool.org/download/${pname}-${version}.zip";
sha256 = "07a2cxsa04lzifphlf5mv88xpnixalmryd0blawblxsmdyhmvg3y";
sha256 = "1fz3rxqg5z2jxbalraz8lwkzj0jh69zzfmf3vpwywilvl7xlhdrd";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];
installPhase = ''
mkdir -p $out/share
mv * $out/share/
mv -- * $out/share/
for lt in languagetool{,-commandline,-server};do
makeWrapper ${jre}/bin/java $out/bin/$lt \
@ -27,9 +27,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "https://languagetool.org";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [
edwtjo
];
maintainers = with maintainers; [ edwtjo ];
platforms = jre.meta.platforms;
description = "A proofreading program for English, French German, Polish, and more";
};