mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
Merge pull request #315856 from qwqawawow/master
groovy: 3.0.11 -> 4.0.21
This commit is contained in:
commit
9a63f68cd4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user