mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-09 14:33:22 +00:00
36 lines
838 B
Nix
36 lines
838 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
buildGoModule rec {
|
|
pname = "testkube";
|
|
version = "2.1.61";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubeshop";
|
|
repo = "testkube";
|
|
rev = "v${version}";
|
|
hash = "sha256-fCWnbUNEKVD5bKcowdgPDg35yRAM79MFapvViAzHX64=";
|
|
};
|
|
|
|
vendorHash = "sha256-l8RncoFKQC26D+5GLpGr5emCJASEiCQQ9K5PSAuMdPI=";
|
|
|
|
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 = {
|
|
description = "Kubernetes-native framework for test definition and execution";
|
|
homepage = "https://github.com/kubeshop/testkube/";
|
|
license = lib.licenses.mit;
|
|
mainProgram = "kubectl-testkube";
|
|
maintainers = with lib.maintainers; [ mathstlouis ];
|
|
};
|
|
}
|