nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 1.1 kB view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 git, 6}: 7 8buildGoModule rec { 9 pname = "terramate"; 10 version = "0.15.5"; 11 12 src = fetchFromGitHub { 13 owner = "terramate-io"; 14 repo = "terramate"; 15 rev = "v${version}"; 16 hash = "sha256-iSDxhuUD29eGhvUeyGT3OEV/++xlta7lljTYn+8WmlE="; 17 }; 18 19 vendorHash = "sha256-o2MNmJmYMq2mQBLslOtRyRH9euEhcJyIhohJ3CKp6kg="; 20 21 # required for version info 22 nativeBuildInputs = [ git ]; 23 24 ldflags = [ 25 "-extldflags" 26 "-static" 27 ]; 28 29 # Needed for the tests to pass on macOS 30 __darwinAllowLocalNetworking = true; 31 32 # Disable failing E2E tests preventing the package from building 33 excludedPackages = [ 34 "./e2etests/cloud" 35 "./e2etests/core" 36 ]; 37 38 meta = { 39 description = "Adds code generation, stacks, orchestration, change detection, data sharing and more to Terraform"; 40 homepage = "https://github.com/terramate-io/terramate"; 41 changelog = "https://github.com/terramate-io/terramate/releases/tag/v${version}"; 42 license = lib.licenses.mpl20; 43 maintainers = with lib.maintainers; [ 44 dit7ya 45 asininemonkey 46 ]; 47 }; 48}