2018-10-22 07:37:45 +02:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "kube-prompt-${version}";
|
2018-11-26 18:40:08 +01:00
|
|
|
version = "1.0.5";
|
2018-10-22 07:37:45 +02:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/c-bata/kube-prompt";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "c-bata";
|
|
|
|
repo = "kube-prompt";
|
2018-11-26 18:40:08 +01:00
|
|
|
sha256 = "1c1y0n1yxcaxvhlsj7b0wvhi934b5g0s1mi46hh5amb9j3dhgq1c";
|
2018-10-22 07:37:45 +02:00
|
|
|
};
|
|
|
|
|
2018-10-30 11:02:22 +01:00
|
|
|
subPackages = ["."];
|
2018-10-22 07:37:45 +02:00
|
|
|
goDeps = ./deps.nix;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An interactive kubernetes client featuring auto-complete using go-prompt";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
homepage = https://github.com/c-bata/kube-prompt;
|
|
|
|
maintainers = [ lib.maintainers.vdemeester ];
|
|
|
|
};
|
|
|
|
}
|