1 { lib, stdenv, fetchzip, jdk, makeWrapper, installShellFiles, coreutils }:
3 stdenv.mkDerivation rec {
4 pname = "spring-boot-cli";
8 url = "https://repo.spring.io/release/org/springframework/boot/${pname}/${version}.RELEASE/${pname}-${version}.RELEASE-bin.zip";
9 sha256 = "1zqfnxz57234227rp303iwis0mjkkjkpcqnj9jgw78gykjnqdmmq";
12 nativeBuildInputs = [ makeWrapper installShellFiles ];
17 installShellCompletion --bash shell-completion/bash/spring
18 installShellCompletion --zsh shell-completion/zsh/_spring
19 rm -r shell-completion
21 wrapProgram $out/bin/spring \
22 --set JAVA_HOME ${jdk} \
23 --set PATH /bin:${coreutils}/bin:${jdk}/bin
29 CLI which makes it easy to create spring-based applications
32 Spring Boot makes it easy to create stand-alone, production-grade
33 Spring-based Applications that you can run. We take an opinionated view
34 of the Spring platform and third-party libraries, so that you can get
35 started with minimum fuss. Most Spring Boot applications need very
36 little Spring configuration.
38 You can use Spring Boot to create Java applications that can be started
39 by using java -jar or more traditional war deployments. We also provide
40 a command line tool that runs “spring scripts”.
42 homepage = "https://spring.io/projects/spring-boot";
43 sourceProvenance = with sourceTypes; [ binaryBytecode ];
44 license = licenses.asl20;
45 platforms = platforms.all;
46 maintainers = with maintainers; [ moaxcp ];