tfk8s: 0.1.3 -> 0.1.4

This commit is contained in:
superherointj 2021-06-16 04:19:24 -03:00
parent e264354b61
commit 05ffbcc311

View File

@ -2,13 +2,14 @@
buildGoModule rec {
pname = "tfk8s";
version = "0.1.3";
version = "0.1.4";
tag = "v${version}";
src = fetchFromGitHub {
owner = "jrhouston";
repo = "tfk8s";
rev = "v${version}";
sha256 = "sha256-3iI5gYfpkxfVylBgniaMeQ73uR8dAjVrdg/eBLRxUR4";
rev = tag;
sha256 = "sha256-Ha/F8rCGZqFYqJzfemmKRyEBI5khaSIerJxvf2Pf2ao=";
};
vendorSha256 = "sha256-wS5diDQFkt8IAp13d8Yeh8ihLvKWdR0Mbw0fMZpqqKE=";
@ -18,12 +19,19 @@ buildGoModule rec {
"-ldflags="
"-s"
"-w"
"-X main.toolVersion=${version}"
"-X main.toolVersion=${tag}"
"-X main.builtBy=nixpkgs"
];
doCheck = true;
doInstallCheck = true;
installCheckPhase = ''
$out/bin/tfk8s --version | grep ${tag} > /dev/null
'';
meta = with lib; {
description = "An utility to convert Kubernetes YAML manifests to Terraform's HCL format.";
description = "An utility to convert Kubernetes YAML manifests to Terraform's HCL format";
license = licenses.mit;
longDescription = ''
tfk8s is a tool that makes it easier to work with the Terraform Kubernetes Provider.