bicep-lsp: init 0.34.44

Release: https://github.com/Azure/bicep/releases/tag/v0.34.44
This commit is contained in:
superherointj
2025-04-10 13:46:14 -03:00
parent d4b921eb59
commit 4beebdd820
2 changed files with 1354 additions and 0 deletions
+1297
View File
File diff suppressed because it is too large Load Diff
+57
View File
@@ -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" ];
};
}