mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 04:45:39 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
718 B
Nix
28 lines
718 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "kconf";
|
|
version = "2.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "particledecay";
|
|
repo = "kconf";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-bLyLXkXOZRFaplv5sY0TgFffvbA3RUwz6b+7h3MN7kA=";
|
|
};
|
|
|
|
vendorHash = "sha256-REguLiYlcC2Q6ao2oMl92/cznW+E8MO2UGhQKRXZ1vQ=";
|
|
|
|
ldflags = [
|
|
"-s" "-w" "-X github.com/particledecay/kconf/build.Version=${version}"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Opinionated command line tool for managing multiple kubeconfigs";
|
|
mainProgram = "kconf";
|
|
homepage = "https://github.com/particledecay/kconf";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ thmzlt ];
|
|
};
|
|
}
|