forked from mirrors/nixpkgs
tf-summarize: init a 0.3.2 (#233472)
This commit is contained in:
parent
e5df58503b
commit
351ff5aefc
|
@ -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";
|
||||
|
|
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue