nixpkgs/pkgs/development/tools/konf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
669 B
Nix
Raw Normal View History

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 13:37:05 +02:00
owner = "SimonTheLeg";
repo = "konf-go";
2022-09-12 10:37:31 +02:00
rev = "v${version}";
hash = "sha256-UeuR7lsNG2Y0hdpQA5NXBUlSvYeixyKS73N95z5TZ7k=";
2022-09-11 10:56:11 +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 ];
};
}