blob: 2fe80013d8efbd3682b2162c1f12542604f7859b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "setup-envtest";
version = "0.18.2";
src = fetchFromGitHub {
owner = "kubernetes-sigs";
repo = "controller-runtime";
rev = "v${version}";
hash = "sha256-fQgWwndxzBIi3zsNMYvFDXjetnaQF0NNK+qW8j4Wn/M=";
} + "/tools/setup-envtest";
vendorHash = "sha256-Xr5b/CRz/DMmoc4bvrEyAZcNufLIZOY5OGQ6yw4/W9k=";
ldflags = [ "-s" "-w" ];
__darwinAllowLocalNetworking = true;
meta = with lib; {
description = "Tool that manages binaries for envtest, allowing the download of new binaries, listing installed and available ones, and cleaning up versions";
homepage = "https://github.com/kubernetes-sigs/controller-runtime/tree/v${version}/tools/setup-envtest";
license = licenses.asl20;
maintainers = with maintainers; [ arikgrahl ];
mainProgram = "setup-envtest";
};
}
|