nixpkgs/pkgs/by-name/ko/konf/package.nix

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

29 lines
698 B
Nix
Raw Normal View History

2022-09-11 08:56:11 +00:00
{ lib
, buildGoModule
2022-09-11 11:37:05 +00:00
, fetchFromGitHub
}:
2022-09-11 08:56:11 +00:00
buildGoModule rec {
pname = "konf";
2024-07-02 13:37:21 +00:00
version = "0.7.0";
2022-09-11 08:56:11 +00:00
src = fetchFromGitHub {
2022-09-11 11:37:05 +00:00
owner = "SimonTheLeg";
repo = "konf-go";
2022-09-12 08:37:31 +00:00
rev = "v${version}";
2024-07-02 13:37:21 +00:00
hash = "sha256-GSrR2uLeGodmE1egRtvTyWhJckYUnI97n7dnmjPvu3k=";
2022-09-11 08:56:11 +00:00
};
vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
2022-09-11 08:56:11 +00:00
2022-09-11 11:40:07 +00:00
ldflags = [ "-s" "-w" ];
2022-09-11 08:56:11 +00:00
meta = with lib; {
description = "Lightweight and blazing fast kubeconfig manager which allows to use different kubeconfigs at the same time";
mainProgram = "konf-go";
2022-09-11 08:56:11 +00:00
homepage = "https://github.com/SimonTheLeg/konf-go";
license = licenses.asl20;
maintainers = with maintainers; [ arikgrahl ];
};
}