solution: use gradle 7.2

Co-authored-by: Brian McGee <brian@41north.dev>
This commit is contained in:
Aldo
2021-11-12 03:36:32 +01:00
committed by GitHub
parent abb74c98af
commit b6a05d67df
16 changed files with 688 additions and 226 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, runCommand, fetchurl, autoPatchelfHook, lib }:
stdenv.mkDerivation rec {
pname = "protoc-gen-grpc-java";
version = "1.38.0";
src = fetchurl {
url = "https://repo1.maven.org/maven2/io/grpc/protoc-gen-grpc-java/${version}/protoc-gen-grpc-java-${version}-linux-x86_64.exe";
sha256 = "sha256:1gy5lkxj6d4vrgalwnjp15biybcnrmp695si9878y7high39ymr3";
};
nativeBuildInputs = [ autoPatchelfHook ];
unpackPhase = ''
cp $src ./bin
chmod +x ./bin
'';
installPhase = ''
mkdir -p $out/bin
mv ./bin $out/bin/$pname
'';
}