Merge pull request #68263 from moaxcp/micronaut

micronaut init at 1.2.1
This commit is contained in:
markuskowa 2019-09-18 13:14:36 +02:00 committed by GitHub
commit 19a51cd2cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 39 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -14721,6 +14721,8 @@ in
meteor = callPackage ../servers/meteor { };
micronaut = callPackage ../development/tools/micronaut {};
minio = callPackage ../servers/minio { };
# Backwards compatibility.