1{ lib
2, buildGoModule
3, fetchFromGitHub
4}:
5
6buildGoModule rec {
7 pname = "konf";
8 version = "0.5.1";
9
10 src = fetchFromGitHub {
11 owner = "SimonTheLeg";
12 repo = "konf-go";
13 rev = "v${version}";
14 hash = "sha256-uzB3quuex00Gp7YRkgo7gF92oPcBoQtLwG6hqMzK6oo=";
15 };
16
17 vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
18
19 ldflags = [ "-s" "-w" ];
20
21 meta = with lib; {
22 description = "Lightweight and blazing fast kubeconfig manager which allows to use different kubeconfigs at the same time";
23 mainProgram = "konf-go";
24 homepage = "https://github.com/SimonTheLeg/konf-go";
25 license = licenses.asl20;
26 maintainers = with maintainers; [ arikgrahl ];
27 };
28}