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 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";
2022-10-31 00:37:57 +00:00
version = "0.5.1";
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}";
2022-10-31 00:37:57 +00:00
hash = "sha256-uzB3quuex00Gp7YRkgo7gF92oPcBoQtLwG6hqMzK6oo=";
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";
homepage = "https://github.com/SimonTheLeg/konf-go";
license = licenses.asl20;
maintainers = with maintainers; [ arikgrahl ];
};
}