diff options
author | John Mercier <moaxcp@gmail.com> | 2019-09-07 08:54:22 -0400 |
---|---|---|
committer | John Mercier <moaxcp@gmail.com> | 2019-09-18 06:25:21 -0400 |
commit | b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022 (patch) | |
tree | b99aae4ff8dee04a5eeeda046662169908adab74 /pkgs/development/tools/micronaut/default.nix | |
parent | 5db81b646a0d7e5f65e76793368415aac91aacaa (diff) | |
download | nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar.gz nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar.bz2 nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar.lz nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar.xz nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.tar.zst nixpkgs-b973a8e0d0197fbd8cbd0f253c45d7e3fbfe2022.zip |
micronaut init at 1.2.1
Diffstat (limited to 'pkgs/development/tools/micronaut/default.nix')
-rw-r--r-- | pkgs/development/tools/micronaut/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/development/tools/micronaut/default.nix b/pkgs/development/tools/micronaut/default.nix new file mode 100644 index 00000000000..102f911bf85 --- /dev/null +++ b/pkgs/development/tools/micronaut/default.nix @@ -0,0 +1,37 @@ +{ stdenv, fetchzip, jdk, makeWrapper }: + +stdenv.mkDerivation rec { + pname = "micronaut"; + version = "1.2.1"; + + src = fetchzip { + url = "https://github.com/micronaut-projects/micronaut-core/releases/download/v${version}/${pname}-${version}.zip"; + sha256 = "0lfl2hfakpdcfii3a3jr6kws731jamy4fb3dmlnj5ydk0zbnmk6r"; + }; + + nativeBuildInputs = [ makeWrapper ]; + + installPhase = '' + rm bin/mn.bat + cp -r . $out + wrapProgram $out/bin/mn \ + --prefix JAVA_HOME : ${jdk} + ''; + + meta = with stdenv.lib; { + description = '' + A modern, JVM-based, full-stack framework for building modular, + easily testable microservice and serverless applications. + ''; + longDescription = '' + Reflection-based IoC frameworks load and cache reflection data for + every single field, method, and constructor in your code, whereas with + Micronaut, your application startup time and memory consumption are + not bound to the size of your codebase. + ''; + homepage = https://micronaut.io/; + license = licenses.asl20; + platforms = platforms.all; + maintainers = with maintainers; [ moaxcp ]; + }; +} |