forked from mirrors/nixpkgs
26 lines
601 B
Nix
26 lines
601 B
Nix
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||
|
|
||
|
buildGoModule rec {
|
||
|
pname = "kubedb-cli";
|
||
|
version = "0.19.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "kubedb";
|
||
|
repo = "cli";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "sha256-CwAa2YqJ0R+L+VwxqruQmZJUctP4GgKszY49ZVyyNBE=";
|
||
|
};
|
||
|
|
||
|
vendorSha256 = null;
|
||
|
|
||
|
# Don't compile the documentation stuff
|
||
|
subPackages = [ "cmd/kubectl-dba" ];
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "kubectl plugin for KubeDB by AppsCode.";
|
||
|
homepage = "https://github.com/kubedb/cli";
|
||
|
license = licenses.unfree;
|
||
|
maintainers = [ maintainers.starcraft66 ];
|
||
|
};
|
||
|
}
|