Merge pull request #301914 from I-Al-Istannen/pkg/jreleaser-cli
jreleaser-cli: init at 1.13.1
This commit is contained in:
commit
3660d6b3cf
@ -8597,6 +8597,11 @@
|
||||
name = "Iago Manoel Brito";
|
||||
keys = [ { fingerprint = "DF90 9D58 BEE4 E73A 1B8C 5AF3 35D3 9F9A 9A1B C8DA"; } ];
|
||||
};
|
||||
i-al-istannen = {
|
||||
name = "I Al Istannen";
|
||||
github = "I-Al-Istannen";
|
||||
githubId = 20284688;
|
||||
};
|
||||
iammrinal0 = {
|
||||
email = "nixpkgs@mrinalpurohit.in";
|
||||
matrix = "@iammrinal0:nixos.dev";
|
||||
|
36
pkgs/by-name/jr/jreleaser-cli/package.nix
Normal file
36
pkgs/by-name/jr/jreleaser-cli/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
makeWrapper,
|
||||
jre,
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jreleaser-cli";
|
||||
version = "1.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/jreleaser/jreleaser/releases/download/v${version}/jreleaser-tool-provider-${version}.jar";
|
||||
hash = "sha256-aqpyEbu+UY0jToP09Wt5X9dRFs85+4uGnHu0IgdK1aM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
dontUnpack = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/java/ $out/bin/
|
||||
cp $src $out/share/java/${pname}.jar
|
||||
makeWrapper ${jre}/bin/java $out/bin/${pname} \
|
||||
--add-flags "-jar $out/share/java/${pname}.jar"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://jreleaser.org/";
|
||||
description = "Release projects quickly and easily";
|
||||
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ lib.maintainers.i-al-istannen ];
|
||||
mainProgram = "jreleaser-cli";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user