Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 29 lines 596 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "kubedb-cli"; 9 version = "0.56.0"; 10 11 src = fetchFromGitHub { 12 owner = "kubedb"; 13 repo = "cli"; 14 tag = "v${version}"; 15 hash = "sha256-Ue2tl09IDCWM6PMErbqtE5csYN1dwzn7EXWQ+O4vs1U="; 16 }; 17 18 vendorHash = null; 19 20 # Don't compile the documentation stuff 21 subPackages = [ "cmd/kubectl-dba" ]; 22 23 meta = with lib; { 24 description = "kubectl plugin for KubeDB by AppsCode"; 25 homepage = "https://github.com/kubedb/cli"; 26 license = licenses.unfree; 27 maintainers = [ maintainers.starcraft66 ]; 28 }; 29}