Merge branch 'master' into staging-next
This commit is contained in:
37
pkgs/development/tools/micronaut/default.nix
Normal file
37
pkgs/development/tools/micronaut/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
@@ -1,17 +1,19 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "elfinfo";
|
||||
version = "0.7.5";
|
||||
version = "0.7.6";
|
||||
|
||||
goPackagePath = "github.com/xyproto/elfinfo";
|
||||
src = fetchFromGitHub {
|
||||
rev = version;
|
||||
owner = "xyproto";
|
||||
repo = "elfinfo";
|
||||
sha256 = "0b6zyfq0yhpbf03h52q2lgf6ff086gcsbnhm6chx18h0q1g17m96";
|
||||
sha256 = "0f6ik4d157assxdfslnyc91mg70kfh396rapikfv473znx2v2pg9";
|
||||
};
|
||||
|
||||
modSha256 = "1xr0pylaqcb4f4g862120cgqdxp0bpwsk77zd6g7kk91lqdcvsdf";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Small utility for showing information about ELF files";
|
||||
homepage = https://elfinfo.roboticoverlords.org/;
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "terraform-lsp";
|
||||
version = "0.0.5";
|
||||
version = "0.0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "juliosueiras";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "018ypvmd9cwys5l7rm1c7b9jf8fljdk0m22id32d88jiw4iwq44m";
|
||||
sha256 = "1nalypaw64kdv5zmmb0xgkajhs2gf71ivbxvgwpgvlv2lyidawx5";
|
||||
};
|
||||
|
||||
modSha256 = "1196fn69nnplj7sz5mffawf58j9n7h211shv795gknvfnwavh344";
|
||||
modSha256 = "1mb3169vdlv4h10k15pg88s48s2b6y7v5frk9j9ahg52grygcqb2";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Language Server Protocol for Terraform";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, rustPlatform, fetchFromGitHub }:
|
||||
{ stdenv, lib, rustPlatform, fetchFromGitHub, Security }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "cargo-inspect";
|
||||
@@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
|
||||
sha256 = "0rjy8jlar939fkl7wi8a6zxsrl4axz2nrhv745ny8x38ii4sfbzr";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
cargoSha256 = "1pxvcf991w0jfxdissvwal5slrx7vpk3rqkzwk4hxfv0mjiqxsg5";
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user