nixpkgs/pkgs/by-name/te/terramate/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
982 B
Nix
Raw Normal View History

2023-06-18 10:22:25 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
, git
}:
buildGoModule rec {
pname = "terramate";
2024-10-14 16:14:30 +01:00
version = "0.10.8";
2023-06-18 10:22:25 +01:00
src = fetchFromGitHub {
owner = "terramate-io";
repo = "terramate";
rev = "v${version}";
2024-10-14 16:14:30 +01:00
hash = "sha256-fT1yuFFHI88wUXKguWZD+PHU4j3w5eda7kzCDn+Gg+o=";
2023-06-18 10:22:25 +01:00
};
2024-09-15 00:58:32 +01:00
vendorHash = "sha256-kjzpXOoyTwjpYLBqDuB6Eup5Yzgej2U+HUo4z8V+cEI=";
2023-06-18 10:22:25 +01:00
# required for version info
nativeBuildInputs = [ git ];
ldflags = [ "-extldflags" "-static" ];
# Disable failing E2E tests preventing the package from building
2024-06-25 10:19:27 +01:00
excludedPackages = [ "./e2etests/cloud" "./e2etests/core" ];
2023-06-18 10:22:25 +01:00
meta = with lib; {
description = "Adds code generation, stacks, orchestration, change detection, data sharing and more to Terraform";
homepage = "https://github.com/terramate-io/terramate";
2024-10-06 21:52:23 +01:00
changelog = "https://github.com/terramate-io/terramate/releases/tag/v${version}";
2023-06-18 10:22:25 +01:00
license = licenses.mpl20;
maintainers = with maintainers; [ dit7ya asininemonkey ];
2023-06-18 10:22:25 +01:00
};
}