micronaut: 1.2.3 -> 1.2.5 (#71697)

* micronaut: 1.2.3 -> 1.2.5

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/micronaut/versions

* micronaut: keep description short

and run pre+post hooks when overriding install phase
This commit is contained in:
R. RyanTM 2019-10-24 06:59:16 -07:00 committed by Renaud
parent d87b8ecbff
commit f9b717e5c0

View File

@ -2,35 +2,36 @@
stdenv.mkDerivation rec {
pname = "micronaut";
version = "1.2.3";
version = "1.2.5";
src = fetchzip {
url = "https://github.com/micronaut-projects/micronaut-core/releases/download/v${version}/${pname}-${version}.zip";
sha256 = "0lfl2hfakpdcfii3a3jr6kws731jamy4fb3dmlnj5ydk0zbnmk6r";
sha256 = "1ka70cr6kznl68ilc42blzqk59gy20spkyqfn26n6zbk0jm5ssxv";
};
nativeBuildInputs = [ makeWrapper installShellFiles ];
installPhase = ''
runHook preInstall
rm bin/mn.bat
cp -r . $out
wrapProgram $out/bin/mn \
--prefix JAVA_HOME : ${jdk}
installShellCompletion --bash --name mn.bash bin/mn_completion
runHook postInstall
'';
meta = with stdenv.lib; {
description = ''
A modern, JVM-based, full-stack framework for building modular,
easily testable microservice and serverless applications.
'';
description = "Modern, JVM-based, full-stack framework for building microservice applications";
longDescription = ''
Micronaut is a modern, JVM-based, full stack microservices framework
designed for building modular, easily testable microservice applications.
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/;
homepage = "https://micronaut.io/";
license = licenses.asl20;
platforms = platforms.all;
maintainers = with maintainers; [ moaxcp ];