nixpkgs/pkgs/by-name/te/testkube/package.nix

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

36 lines
838 B
Nix
Raw Normal View History

2024-11-05 03:13:36 +00:00
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "testkube";
2024-11-12 16:06:30 +00:00
version = "2.1.61";
2024-11-05 03:13:36 +00:00
src = fetchFromGitHub {
owner = "kubeshop";
repo = "testkube";
rev = "v${version}";
2024-11-12 16:06:30 +00:00
hash = "sha256-fCWnbUNEKVD5bKcowdgPDg35yRAM79MFapvViAzHX64=";
2024-11-05 03:13:36 +00:00
};
2024-11-12 16:06:30 +00:00
vendorHash = "sha256-l8RncoFKQC26D+5GLpGr5emCJASEiCQQ9K5PSAuMdPI=";
2024-11-05 03:13:36 +00:00
ldflags = [
"-X main.version=${version}"
"-X main.builtBy=nixpkgs"
"-X main.commit=v${version}"
"-X main.date=1970-01-01-00:00:01"
];
subPackages = [ "cmd/kubectl-testkube" ];
meta = {
2024-11-05 03:13:36 +00:00
description = "Kubernetes-native framework for test definition and execution";
homepage = "https://github.com/kubeshop/testkube/";
license = lib.licenses.mit;
2024-11-05 03:13:36 +00:00
mainProgram = "kubectl-testkube";
maintainers = with lib.maintainers; [ mathstlouis ];
2024-11-05 03:13:36 +00:00
};
}