depot/third_party/nixpkgs/pkgs/by-name/ku/kubedb-cli/package.nix

25 lines
598 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubedb-cli";
version = "0.48.1";
src = fetchFromGitHub {
owner = "kubedb";
repo = "cli";
rev = "v${version}";
sha256 = "sha256-jk+IUqM0/7qVKBMFntQFr52B3TJYEGrmT/DKcgfrw3Q=";
};
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 ];
};
}