Skip to content

Commit

Permalink
testkube: init at 2.1.56
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstlouis committed Nov 5, 2024
1 parent 1f9a6f4 commit 4b365e7
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/te/testkube/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
stdenv,
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "testkube";
version = "2.1.56";

src = fetchFromGitHub {
owner = "kubeshop";
repo = "testkube";
rev = "v${version}";
sha256 = "sha256-P+A9lUMzQ3M0SEVZBMDSMj8S0uCsEhadv5vDRxbQORA=";
};

vendorHash = "sha256-44aIwddMH6CMfTno90xGkHgna4DO2Ii3KhpMwv6Zjmo=";

ldflags = [
"-X main.version=${version}"
"-X main.builtBy=nixpkgs"
"-X main.commit=v${version}"
"-X main.date=1970-01-01-00:00:01"
];

doCheck = false;
subPackages = [ "cmd/kubectl-testkube" ];

meta = with lib; {
description = "Kubernetes-native framework for test definition and execution";
homepage = "https://github.com/kubeshop/testkube/";
license = licenses.mit;
mainProgram = "kubectl-testkube";
maintainers = with maintainers; [ mathstlouis ];
};
}

0 comments on commit 4b365e7

Please sign in to comment.