1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/development/tools/kube-prompt/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
645 B
Nix

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "kube-prompt";
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 ];
};
}