2022-09-11 10:56:11 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
2022-09-11 13:37:05 +02:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2022-09-11 10:56:11 +02:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "konf";
|
|
|
|
version = "0.2.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2022-09-11 14:21:19 +02:00
|
|
|
rev = "v${version}";
|
2022-09-11 13:37:05 +02:00
|
|
|
owner = "SimonTheLeg";
|
|
|
|
repo = "konf-go";
|
2022-09-11 13:38:54 +02:00
|
|
|
hash = "sha256-UeuR7lsNG2Y0hdpQA5NXBUlSvYeixyKS73N95z5TZ7k=";
|
2022-09-11 10:56:11 +02:00
|
|
|
};
|
|
|
|
|
2022-09-11 13:38:54 +02:00
|
|
|
vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
|
2022-09-11 10:56:11 +02:00
|
|
|
|
2022-09-11 13:40:07 +02:00
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
|
2022-09-11 10:56:11 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|