2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, git
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terramate";
|
2024-10-11 05:15:48 +00:00
|
|
|
version = "0.10.8";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "terramate-io";
|
|
|
|
repo = "terramate";
|
|
|
|
rev = "v${version}";
|
2024-10-11 05:15:48 +00:00
|
|
|
hash = "sha256-fT1yuFFHI88wUXKguWZD+PHU4j3w5eda7kzCDn+Gg+o=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-09-26 11:04:55 +00:00
|
|
|
vendorHash = "sha256-kjzpXOoyTwjpYLBqDuB6Eup5Yzgej2U+HUo4z8V+cEI=";
|
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";
|
2024-10-09 16:51:18 +00:00
|
|
|
changelog = "https://github.com/terramate-io/terramate/releases/tag/v${version}";
|
2023-08-04 22:07:22 +00:00
|
|
|
license = licenses.mpl20;
|
2024-10-11 05:15:48 +00:00
|
|
|
maintainers = with maintainers; [ dit7ya asininemonkey ];
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
}
|