3
0
Fork 0
forked from mirrors/nixpkgs

tf-summarize: init a 0.3.2 (#233472)

This commit is contained in:
Pedro Magalhães 2023-05-22 22:02:55 +01:00 committed by GitHub
parent e5df58503b
commit 351ff5aefc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 46 additions and 0 deletions

View file

@ -12497,6 +12497,12 @@
githubId = 3737;
name = "Peter Jones";
};
pjrm = {
email = "pedrojrmagalhaes@gmail.com";
github = "pjrm";
githubId = 4622652;
name = "Pedro Magalhães";
};
pkharvey = {
email = "kayharvey@protonmail.com";
github = "pkharvey";

View file

@ -0,0 +1,38 @@
{ lib
, buildGoModule
, fetchFromGitHub
, testers
, tf-summarize
}:
buildGoModule rec {
pname = "tf-summarize";
version = "0.3.2";
src = fetchFromGitHub {
owner = "dineshba";
repo = "tf-summarize";
rev = "v${version}";
sha256 = "0c6fcz0n22mq8bqr82h9lfxx4n1bk9gjlc7d131lpf14yiacih3p";
};
vendorSha256 = "cnybdZth7qlP2BHK8uvLCoqJtggMIkvaL2+YugiUZRE=";
ldflags = [
"-s"
"-w"
"-X main.version=${version}"
];
passthru.tests.version = testers.testVersion {
package = tf-summarize;
command = "tf-summarize -v";
inherit version;
};
meta = with lib; {
description = "Command-line utility to print the summary of the terraform plan";
homepage = "https://github.com/dineshba/tf-summarize";
license = licenses.mit;
maintainers = with maintainers; [ pjrm ];
};
}

View file

@ -39742,6 +39742,8 @@ with pkgs;
terraspace = callPackage ../applications/networking/cluster/terraspace { };
tf-summarize = callPackage ../applications/networking/cluster/tf-summarize { };
tfswitch = callPackage ../applications/networking/cluster/tfswitch { };
tfupdate = callPackage ../applications/networking/cluster/tfupdate { };