nixpkgs/pkgs/by-name/ku/kuttl/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
855 B
Nix
Raw Normal View History

2022-10-01 02:52:35 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
2021-03-31 20:19:50 +00:00
buildGoModule rec {
pname = "kuttl";
2024-09-02 13:20:00 +00:00
version = "0.19.0";
2021-03-31 20:19:50 +00:00
cli = "kubectl-kuttl";
src = fetchFromGitHub {
2022-10-01 02:52:35 +00:00
owner = "kudobuilder";
repo = "kuttl";
rev = "v${version}";
2024-09-02 13:20:00 +00:00
sha256 = "sha256-7fcVmLvRbKYuWuqwqZWlQf08YEyowcTxrp5RteV8qyU=";
2021-03-31 20:19:50 +00:00
};
2024-09-02 13:20:00 +00:00
vendorHash = "sha256-E6gzr9gCLbRaoJU/pYA2cAy0rv5SUVmwf0m34lchF+M=";
2021-03-31 20:19:50 +00:00
subPackages = [ "cmd/kubectl-kuttl" ];
2021-08-26 06:45:51 +00:00
ldflags = [
2022-10-01 02:52:35 +00:00
"-s"
"-w"
2021-08-26 06:45:51 +00:00
"-X github.com/kudobuilder/kuttl/pkg/version.gitVersion=${version}"
];
2021-03-31 20:19:50 +00:00
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";
2021-03-31 20:19:50 +00:00
};
}