8 stdenv.mkDerivation rec {
9 pname = "jreleaser-cli";
13 url = "https://github.com/jreleaser/jreleaser/releases/download/v${version}/jreleaser-tool-provider-${version}.jar";
14 hash = "sha256-/FDoAYf+Uy+VcWT9KpW1IEqOCvCOOyV+8/cugpeUR7Y=";
17 nativeBuildInputs = [ makeWrapper ];
22 mkdir -p $out/share/java/ $out/bin/
23 cp $src $out/share/java/${pname}.jar
24 makeWrapper ${jre}/bin/java $out/bin/${pname} \
25 --add-flags "-jar $out/share/java/${pname}.jar"
29 homepage = "https://jreleaser.org/";
30 description = "Release projects quickly and easily";
31 sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
32 license = lib.licenses.asl20;
33 maintainers = [ lib.maintainers.i-al-istannen ];
34 mainProgram = "jreleaser-cli";