Unverified Commit 99b4fe01 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

tf: init at 2.11.1 (#442480)

parents e1b281ed 7f1c48cc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -25387,6 +25387,12 @@
    matrix = "@tensor5:matrix.org";
    name = "Nicola Squartini";
  };
  Tenzer = {
    email = "nixpkgs@tenzer.dk";
    github = "Tenzer";
    githubId = 68696;
    name = "Jeppe Fihl-Pearson";
  };
  teohz = {
    email = "gitstuff@teohz.com";
    github = "teohz";
+32 −0
Original line number Diff line number Diff line
{
  lib,
  buildGoModule,
  fetchFromGitHub,
}:

buildGoModule (finalAttrs: {
  pname = "tf";
  version = "2.11.1";

  src = fetchFromGitHub {
    owner = "dex4er";
    repo = "tf";
    tag = "v${finalAttrs.version}";
    hash = "sha256-EWD6BfOAZR/PucDhJmLStjBNVgXCLW45g8stVhoMyO8=";
  };

  vendorHash = "sha256-lcgLEj6NELZS0LoakbuektO4epieY7ctl8ya1JnXim8=";

  subPackages = [ "." ];

  preInstallCheck = "make test";

  meta = {
    description = "Less verbose and more shell friendly Terraform";
    mainProgram = "tf";
    homepage = "https://github.com/dex4er/tf";
    changelog = "https://github.com/dex4er/tf/releases/tag/v${finalAttrs.version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ Tenzer ];
  };
})