mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
33 lines
855 B
Nix
33 lines
855 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kuttl";
|
|
version = "0.20.0";
|
|
cli = "kubectl-kuttl";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kudobuilder";
|
|
repo = "kuttl";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-RZmylvf4q1JD8EAnxiFVfu9Q/ya1TXnbZhn4RguehII=";
|
|
};
|
|
|
|
vendorHash = "sha256-XdHgPN0gE1ie4kxqmZQgxlV+RUddu6OPbqWwIHAw6Hc=";
|
|
|
|
subPackages = [ "cmd/kubectl-kuttl" ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X github.com/kudobuilder/kuttl/pkg/version.gitVersion=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "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 ];
|
|
mainProgram = "kubectl-kuttl";
|
|
};
|
|
}
|