Merge pull request #315856 from qwqawawow/master

groovy: 3.0.11 -> 4.0.21
This commit is contained in:
Marcus Ramberg 2024-06-03 22:51:24 +02:00 committed by GitHub
commit 9a63f68cd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
pname = "groovy";
version = "3.0.11";
version = "4.0.21";
src = fetchurl {
url = "mirror://apache/groovy/${version}/distribution/apache-groovy-binary-${version}.zip";
sha256 = "85abb44e81f94d794230cf5c2c7f1003e598a5f8a6ae04322f28c6f9efe395f6";
sha256 = "sha256-Xvh49w24tkLSBOmkEMUZwRMaPnqd20tpENIUkJyy6Yo=";
};
nativeBuildInputs = [ makeWrapper unzip ];
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
mkdir -p $out
mkdir -p $out/share/doc/groovy
rm bin/*.bat
mv {bin,conf,grooid,indy,lib} $out
mv {bin,conf,grooid,lib} $out
mv {licenses,LICENSE,NOTICE} $out/share/doc/groovy
sed -i 's#which#${which}/bin/which#g' $out/bin/startGroovy