10 buildDotnetModule rec {
14 src = fetchFromGitHub {
18 hash = "sha256-JJNiVANq5WyiNnl6TsXPtLdsX4AKMcDIBzatwRPnbFM=";
22 substituteInPlace src/Directory.Build.props --replace-fail "<TreatWarningsAsErrors>true</TreatWarningsAsErrors>" ""
25 projectFile = "src/Bicep.Cli/Bicep.Cli.csproj";
27 nugetDeps = ./deps.nix;
29 dotnet-sdk = dotnetCorePackages.sdk_8_0;
31 dotnet-runtime = dotnetCorePackages.runtime_8_0;
33 doCheck = !(stdenv.isDarwin && stdenv.isAarch64); # mono is not available on aarch64-darwin
35 nativeCheckInputs = [ mono ];
37 testProjectFile = "src/Bicep.Cli.UnitTests/Bicep.Cli.UnitTests.csproj";
39 passthru.updateScript = ./updater.sh;
42 description = "Domain Specific Language (DSL) for deploying Azure resources declaratively";
43 homepage = "https://github.com/Azure/bicep/";
44 changelog = "https://github.com/Azure/bicep/releases/tag/v${version}";
45 license = lib.licenses.mit;
46 maintainers = with lib.maintainers; [ khaneliman ] ++ lib.teams.stridtech.members;
47 mainProgram = "bicep";