2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, git
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terramate";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "0.9.0";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "terramate-io";
|
|
|
|
repo = "terramate";
|
|
|
|
rev = "v${version}";
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-052pw091okx564tzN3Ookw2xZmW12svI49Ll5MIWMu0=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-07-27 06:49:29 +00:00
|
|
|
vendorHash = "sha256-lJL8THy0wXrKTSPdnBxollgZkaHMhvw3MbuiacyR6GE=";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
# required for version info
|
|
|
|
nativeBuildInputs = [ git ];
|
|
|
|
|
|
|
|
ldflags = [ "-extldflags" "-static" ];
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
# Disable failing E2E tests preventing the package from building
|
2024-07-27 06:49:29 +00:00
|
|
|
excludedPackages = [ "./e2etests/cloud" "./e2etests/core" ];
|
2024-05-15 15:35:15 +00:00
|
|
|
|
2023-08-04 22:07:22 +00: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";
|
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = with maintainers; [ dit7ya ];
|
|
|
|
};
|
|
|
|
}
|