30 lines
596 B
Nix
30 lines
596 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "kubedb-cli";
|
|
version = "0.57.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kubedb";
|
|
repo = "cli";
|
|
tag = "v${version}";
|
|
hash = "sha256-U2VdWer9jOW+GmzndyXt9nD7HlUIvljROeS/gL3ZJAc=";
|
|
};
|
|
|
|
vendorHash = 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 ];
|
|
};
|
|
}
|