nixpkgs-suyu/pkgs/development/tools/kube-prompt/default.nix
Jörg Thalheim 33ca8f9150
Merge pull request #55405 from xtruder/pkgs/hetzner-prompt/main-package
kube-prompt: build only main package
2019-02-08 07:56:38 +00:00

26 lines
655 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "kube-prompt-${version}";
version = "1.0.5";
rev = "v${version}";
goPackagePath = "github.com/c-bata/kube-prompt";
src = fetchFromGitHub {
inherit rev;
owner = "c-bata";
repo = "kube-prompt";
sha256 = "1c1y0n1yxcaxvhlsj7b0wvhi934b5g0s1mi46hh5amb9j3dhgq1c";
};
subPackages = ["."];
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 ];
};
}