Files
nixpkgs/pkgs/by-name/te/terramate/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
1.1 KiB
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
git,
}:
buildGoModule rec {
pname = "terramate";
version = "0.14.7";
src = fetchFromGitHub {
owner = "terramate-io";
repo = "terramate";
rev = "v${version}";
hash = "sha256-e3XHA9KktHxe0Ud4o9uchne0xnka2MNb2F7IgzWDLWo=";
};
vendorHash = "sha256-uS/4lDFd13U7oOct4JeSIc3WNqkB1x/clPf0A16Za/s=";
# required for version info
nativeBuildInputs = [ git ];
ldflags = [
"-extldflags"
"-static"
];
# Needed for the tests to pass on macOS
__darwinAllowLocalNetworking = true;
# Disable failing E2E tests preventing the package from building
excludedPackages = [
"./e2etests/cloud"
"./e2etests/core"
];
meta = {
description = "Adds code generation, stacks, orchestration, change detection, data sharing and more to Terraform";
homepage = "https://github.com/terramate-io/terramate";
changelog = "https://github.com/terramate-io/terramate/releases/tag/v${version}";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [
dit7ya
asininemonkey
];
};
}