2023-08-04 22:07:22 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, git
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "terramate";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "0.8.4";
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "terramate-io";
|
|
|
|
repo = "terramate";
|
|
|
|
rev = "v${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-jcmOS81iPzy1ul0Cj/SiJk84AUIq7mLI+CmspuPit+o=";
|
2023-08-04 22:07:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
vendorHash = "sha256-Na2XDPSwgwWTQrweslAtSOh2+B/ZFaPIdy8ssAFWkGs=";
|
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
|
|
|
|
excludedPackages = [ "./cmd/terramate/e2etests/cloud" "./cmd/terramate/e2etests/core" ];
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|