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 09:56:11 +01:00
{ lib
, buildGoModule
2022-09-11 12:37:05 +01:00
, fetchFromGitHub
}:
2022-09-11 09:56:11 +01:00
buildGoModule rec {
pname = "konf";
2022-10-31 00:37:57 +00:00
version = "0.5.1";
2022-09-11 09:56:11 +01:00
src = fetchFromGitHub {
2022-09-11 12:37:05 +01:00
owner = "SimonTheLeg";
repo = "konf-go";
2022-09-12 09:37:31 +01:00
rev = "v${version}";
2022-10-31 00:37:57 +00:00
hash = "sha256-uzB3quuex00Gp7YRkgo7gF92oPcBoQtLwG6hqMzK6oo=";
2022-09-11 09:56:11 +01:00
};
vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
2022-09-11 09:56:11 +01:00
2022-09-11 12:40:07 +01:00
ldflags = [ "-s" "-w" ];
2022-09-11 09:56:11 +01: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 ];
};
}