nixpkgs/pkgs/applications/networking/cluster/kconf/default.nix

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

27 lines
697 B
Nix
Raw Normal View History

2021-03-22 18:32:51 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kconf";
2022-07-28 17:42:28 +00:00
version = "1.12.0";
2021-03-22 18:32:51 +00:00
src = fetchFromGitHub {
owner = "particledecay";
repo = "kconf";
rev = "v${version}";
2022-07-28 17:42:28 +00:00
sha256 = "sha256-aEZTwXccKZDXRNWr4XS2ZpqtEnNGbsIVau8zPvaHTkk=";
2021-03-22 18:32:51 +00:00
};
2022-07-28 17:42:28 +00:00
vendorSha256 = "sha256-7mzk2OP1p8FfRsbs4B6XP/szBeckm7Q7hf8AkbZUG2Q=";
ldflags = [
"-s" "-w" "-X github.com/particledecay/kconf/build.Version=${version}"
];
2021-03-22 18:32:51 +00:00
meta = with lib; {
description = "An opinionated command line tool for managing multiple kubeconfigs";
homepage = "https://github.com/particledecay/kconf";
license = licenses.mit;
maintainers = with maintainers; [ thmzlt ];
};
}