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