2022-09-14 18:05:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "konf";
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "0.4.0";
|
2022-09-14 18:05:37 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SimonTheLeg";
|
|
|
|
repo = "konf-go";
|
|
|
|
rev = "v${version}";
|
2022-09-30 11:47:45 +00:00
|
|
|
hash = "sha256-8TXr/jYMl3NLERtLkm7qG97IL/idz4xxP0g0LEy4/j8=";
|
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";
|
|
|
|
homepage = "https://github.com/SimonTheLeg/konf-go";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ arikgrahl ];
|
|
|
|
};
|
|
|
|
}
|