bicep-lsp: init 0.34.44
Release: https://github.com/Azure/bicep/releases/tag/v0.34.44
This commit is contained in:
Generated
+1297
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,57 @@
|
||||
{
|
||||
autoPatchelfHook,
|
||||
buildDotnetModule,
|
||||
coreutils,
|
||||
dotnetCorePackages,
|
||||
fetchFromGitHub,
|
||||
icu,
|
||||
lib,
|
||||
libkrb5,
|
||||
openssl,
|
||||
stdenv,
|
||||
}:
|
||||
|
||||
buildDotnetModule rec {
|
||||
pname = "bicep-lsp";
|
||||
version = "0.34.44";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Azure";
|
||||
repo = "bicep";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-vyPRLPTvQkwN7unlIHs6DvpjXnXyW1PDtH9hhIOgN1A=";
|
||||
};
|
||||
|
||||
projectFile = "src/Bicep.LangServer/Bicep.LangServer.csproj";
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace global.json --replace-warn "8.0.406" "${dotnetCorePackages.sdk_8_0.version}"
|
||||
'';
|
||||
|
||||
nugetDeps = ./deps.json;
|
||||
|
||||
# From: https://github.com/Azure/bicep/blob/v0.34.44/global.json#L7
|
||||
dotnet-sdk = dotnetCorePackages.sdk_8_0;
|
||||
dotnet-runtime = dotnetCorePackages.runtime_8_0;
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [
|
||||
icu
|
||||
libkrb5
|
||||
openssl
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
doCheck = !(stdenv.isDarwin && stdenv.isAarch64); # mono is not available on aarch64-darwin
|
||||
|
||||
meta = {
|
||||
description = "Domain Specific Language (DSL) for deploying Azure resources declaratively";
|
||||
homepage = "https://github.com/Azure/bicep/";
|
||||
changelog = "https://github.com/Azure/bicep/releases/tag/v${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ ] ++ lib.teams.stridtech.members;
|
||||
platforms = lib.platforms.all;
|
||||
badPlatforms = [ "aarch64-linux" ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user