about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorWael Nasreddine <wael.nasreddine@gmail.com>2021-03-31 13:40:33 -0700
committerGitHub <noreply@github.com>2021-03-31 13:40:33 -0700
commitce865faa4bce04384ab1ecc3228ec59e4eb1663e (patch)
tree175ed5bfaf7a0e0baf7fd84a49f878745d73abc6 /pkgs/applications/networking/cluster
parent700511ed3ca37da3437c7ac35b7d7c8363128582 (diff)
parentaa9ebb14d4bb5841d923fbc62cec1e3e7324fabc (diff)
downloadnixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar.gz
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar.bz2
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar.lz
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar.xz
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.tar.zst
nixlib-ce865faa4bce04384ab1ecc3228ec59e4eb1663e.zip
Merge pull request #118113 from DiegoLelis/kuttl-v0.9.0
kuttl: init at version 0.9.0
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r--pkgs/applications/networking/cluster/kuttl/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/kuttl/default.nix b/pkgs/applications/networking/cluster/kuttl/default.nix
new file mode 100644
index 000000000000..0c8f7f1574ce
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kuttl/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildGoModule, fetchFromGitHub}:
+
+buildGoModule rec {
+  name = "kuttl";
+  pname = "kuttl";
+  version = "0.9.0";
+  cli = "kubectl-kuttl";
+
+  src = fetchFromGitHub {
+    owner  = "kudobuilder";
+    repo   = "kuttl";
+    rev    = "v${version}";
+    sha256 = "sha256:1cji0py2340mvcpplwq3licdkzjx7q5f27fdjjxvbhrgksnyw6hs";
+  };
+
+  vendorSha256 = "sha256:1shra42ifa2knxp58fj5hn074jg89f3nqdqk4rqbp3ybir84ahsd";
+
+  subPackages = [ "cmd/kubectl-kuttl" ];
+
+  buildFlagsArray = ''
+    -ldflags=-s -w
+    -X  github.com/kudobuilder/kuttl/pkg/version.gitVersion=${version}
+  '';
+
+  meta = with lib; {
+    description = "The KUbernetes Test TooL (KUTTL) provides a declarative approach to testing production-grade Kubernetes operators";
+    homepage = "https://github.com/kudobuilder/kuttl";
+    license = licenses.asl20;
+    maintainers = with maintainers; [ diegolelis ];
+  };
+}