jbang: 0.82.1 -> 0.92.2 (#165751)
This commit is contained in:
parent
0ff1cbf17e
commit
909c02f6ea
1 changed files with 2 additions and 3 deletions
|
@ -1,12 +1,12 @@
|
||||||
{ stdenv, lib, fetchzip, jdk, makeWrapper, coreutils, curl }:
|
{ stdenv, lib, fetchzip, jdk, makeWrapper, coreutils, curl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.82.1";
|
version = "0.92.2";
|
||||||
pname = "jbang";
|
pname = "jbang";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/jbangdev/jbang/releases/download/v${version}/${pname}-${version}.tar";
|
url = "https://github.com/jbangdev/jbang/releases/download/v${version}/${pname}-${version}.tar";
|
||||||
sha256 = "sha256-C2zsIJvna7iqcaCM4phJonbA9TALL89rACms5II9hhU=";
|
sha256 = "0gbdbjyyh2if3yfmwfd6d3yq8r25inhw7n44jbjw1pdqb6gk44z1";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
@ -14,7 +14,6 @@ stdenv.mkDerivation rec {
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
rm bin/jbang.{cmd,ps1}
|
rm bin/jbang.{cmd,ps1}
|
||||||
rmdir tmp
|
|
||||||
cp -r . $out
|
cp -r . $out
|
||||||
wrapProgram $out/bin/jbang \
|
wrapProgram $out/bin/jbang \
|
||||||
--set JAVA_HOME ${jdk} \
|
--set JAVA_HOME ${jdk} \
|
||||||
|
|
Loading…
Reference in a new issue