spring-boot-cli: 2.1.9->2.2.5

This commit is contained in:
John Mercier 2020-03-14 22:39:56 -04:00
parent 5445b8d8d0
commit 21821de828
3 changed files with 15 additions and 13 deletions

View file

@ -1,12 +1,12 @@
{ stdenv, fetchzip, jdk, makeWrapper, installShellFiles }:
{ stdenv, fetchzip, jdk, makeWrapper, installShellFiles, coreutils }:
stdenv.mkDerivation rec {
pname = "spring-boot";
version = "2.1.9";
pname = "spring-boot-cli";
version = "2.2.6";
src = fetchzip {
url = "https://repo.spring.io/release/org/springframework/boot/${pname}-cli/${version}.RELEASE/${pname}-cli-${version}.RELEASE-bin.zip";
sha256 = "03iphh5l9w9sizksidkv217qnqx3nh1zpw6kdjnn40j3mlabfb7j";
url = "https://repo.spring.io/release/org/springframework/boot/${pname}/${version}.RELEASE/${pname}-${version}.RELEASE-bin.zip";
sha256 = "1rb21a8nr4mcdsfv3c3xh45kcpdwllhjfb26w9xsdgfh1j4mhb81";
};
nativeBuildInputs = [ makeWrapper installShellFiles ];
@ -19,7 +19,8 @@ stdenv.mkDerivation rec {
rm -r shell-completion
cp -r . $out
wrapProgram $out/bin/spring \
--prefix JAVA_HOME : ${jdk}
--set JAVA_HOME ${jdk} \
--set PATH /bin:${coreutils}/bin:${jdk}/bin
runHook postInstall
'';

View file

@ -532,6 +532,7 @@ mapAliases ({
spice_gtk = spice-gtk; # added 2018-02-25
spice_protocol = spice-protocol; # added 2018-02-25
spidermonkey_52 = throw "spidermonkey_52 has been removed. Please use spidermonkey_60 instead."; # added 2019-10-16
spring-boot = spring-boot-cli; # added 2020-04-24
sqlite3_analyzer = sqlite-analyzer; # added 2018-05-22
sqliteInteractive = sqlite-interactive; # added 2014-12-06
squid4 = squid; # added 2019-08-22

View file

@ -16094,7 +16094,7 @@ in
spawn_fcgi = callPackage ../servers/http/spawn-fcgi { };
spring-boot = callPackage ../development/tools/spring-boot { };
spring-boot-cli = callPackage ../development/tools/spring-boot-cli { };
squid = callPackage ../servers/squid { };