@@ -1,18 +1,18 @@
1−{ lib, buildGoModule, fetchFromGitHub }:
1+{ lib, buildGoModule, fetchFromGitHub, callPackage }:
22
33buildGoModule rec {
44 pname = "tfk8s";
5− version = "0.1.4";
5+ version = "0.1.5";
66 tag = "v${version}";
77
88 src = fetchFromGitHub {
99 owner = "jrhouston";
1010 repo = "tfk8s";
1111 rev = tag;
12− sha256 = "sha256-Ha/F8rCGZqFYqJzfemmKRyEBI5khaSIerJxvf2Pf2ao=";
12+ sha256 = "sha256-T0zM2JOmzk8YyS3+De6yGwiwLgyb6Rwy6hT9b44wNxQ=";
1313 };
1414
15− vendorSha256 = "sha256-wS5diDQFkt8IAp13d8Yeh8ihLvKWdR0Mbw0fMZpqqKE=";
15+ vendorSha256 = "sha256-eLPmghs05pMMtys97Ja7YGdVMZmMmiaFeMwzaWNxW0I=";
1616 runVend = true;
1717
1818 buildFlagsArray = [
@@ -30,6 +30,10 @@ buildGoModule rec {
3030 $out/bin/tfk8s --version | grep ${tag} > /dev/null
3131 '';
3232
33+ passthru.tests = {
34+ sample1 = callPackage ./tests/sample1 { };
35+ };
36+
3337 meta = with lib; {
3438 description = "An utility to convert Kubernetes YAML manifests to Terraform's HCL format";
3539 license = licenses.mit;