mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
29 lines
698 B
Nix
29 lines
698 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "konf";
|
|
version = "0.5.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "SimonTheLeg";
|
|
repo = "konf-go";
|
|
rev = "v${version}";
|
|
hash = "sha256-uzB3quuex00Gp7YRkgo7gF92oPcBoQtLwG6hqMzK6oo=";
|
|
};
|
|
|
|
vendorHash = "sha256-sB3j19HrTtaRqNcooqNy8vBvuzxxyGDa7MOtiGoVgN8=";
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
meta = with lib; {
|
|
description = "Lightweight and blazing fast kubeconfig manager which allows to use different kubeconfigs at the same time";
|
|
mainProgram = "konf-go";
|
|
homepage = "https://github.com/SimonTheLeg/konf-go";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ arikgrahl ];
|
|
};
|
|
}
|