depot/third_party/nixpkgs/pkgs/development/tools/konf/default.nix
Default email b41113241d Project import generated by Copybara.
GitOrigin-RevId: ae1dc133ea5f1538d035af41e5ddbc2ebcb67b90
2022-09-22 14:36:57 +02:00

27 lines
669 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "konf";
version = "0.3.0";
src = fetchFromGitHub {
owner = "SimonTheLeg";
repo = "konf-go";
rev = "v${version}";
hash = "sha256-n8WJyihpbtci8Q6zUapwrpTrVZVAS53OpnwAsv6w1FY=";
};
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 ];
};
}