diff options
author | Wael Nasreddine <wael.nasreddine@gmail.com> | 2021-03-31 13:40:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 13:40:33 -0700 |
commit | ce865faa4bce04384ab1ecc3228ec59e4eb1663e (patch) | |
tree | 175ed5bfaf7a0e0baf7fd84a49f878745d73abc6 /pkgs/applications/networking/cluster | |
parent | 700511ed3ca37da3437c7ac35b7d7c8363128582 (diff) | |
parent | aa9ebb14d4bb5841d923fbc62cec1e3e7324fabc (diff) | |
download | nixlib-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.nix | 31 |
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 ]; + }; +} |