git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #68263 from moaxcp/micronaut

micronaut init at 1.2.1

commit19a51cd2cbbdd07cdcf05e809d3d53bd1dac1cf2 authormarkuskowa <markus.kowalewski@gmail.com> dateWed 18 Sep 2019, 13:14 (7 years ago) parentf1747f0b973a8e
2 files changed+39
pkgs/development/tools/micronaut/default.nix+37 pkgs/top-level/all-packages.nix+2
pkgs/development/tools/micronaut/default.nixnew file+37
@@ -0,0 +1,37 @@
1+{ stdenv, fetchzip, jdk, makeWrapper }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "micronaut";
5+ version = "1.2.1";
6+
7+ src = fetchzip {
8+ url = "https://github.com/micronaut-projects/micronaut-core/releases/download/v${version}/${pname}-${version}.zip";
9+ sha256 = "0lfl2hfakpdcfii3a3jr6kws731jamy4fb3dmlnj5ydk0zbnmk6r";
10+ };
11+
12+ nativeBuildInputs = [ makeWrapper ];
13+
14+ installPhase = ''
15+ rm bin/mn.bat
16+ cp -r . $out
17+ wrapProgram $out/bin/mn \
18+ --prefix JAVA_HOME : ${jdk}
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ description = ''
23+ A modern, JVM-based, full-stack framework for building modular,
24+ easily testable microservice and serverless applications.
25+ '';
26+ longDescription = ''
27+ Reflection-based IoC frameworks load and cache reflection data for
28+ every single field, method, and constructor in your code, whereas with
29+ Micronaut, your application startup time and memory consumption are
30+ not bound to the size of your codebase.
31+ '';
32+ homepage = https://micronaut.io/;
33+ license = licenses.asl20;
34+ platforms = platforms.all;
35+ maintainers = with maintainers; [ moaxcp ];
36+ };
37+}
pkgs/top-level/all-packages.nix+2
@@ -14721,6 +14721,8 @@ in
1472114721
1472214722 meteor = callPackage ../servers/meteor { };
1472314723
14724+ micronaut = callPackage ../development/tools/micronaut {};
14725+
1472414726 minio = callPackage ../servers/minio { };
1472514727
1472614728 # Backwards compatibility.