2022-09-14 18:05:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "konf";
|
2022-11-02 22:02:43 +00:00
|
|
|
version = "0.5.1";
|
2022-09-14 18:05:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SimonTheLeg";
|
|
|
|
repo = "konf-go";
|
|
|
|
rev = "v${version}";
|
2022-11-02 22:02:43 +00:00
|
|
|
hash = "sha256-uzB3quuex00Gp7YRkgo7gF92oPcBoQtLwG6hqMzK6oo=";
|
2022-09-14 18:05:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Lightweight and blazing fast kubeconfig manager which allows to use different kubeconfigs at the same time";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "konf-go";
|
2022-09-14 18:05:37 +00:00
|
|
|
homepage = "https://github.com/SimonTheLeg/konf-go";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ arikgrahl ];
|
|
|
|
};
|
|
|
|
}
|