1
0
mirror of https://github.com/tboerger/nixos-config synced 2024-11-22 18:21:58 +01:00
github.com-tboerger-nixos-c.../overlays/kubectl-moco/default.nix
2024-07-17 16:05:33 +02:00

26 lines
654 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubectl-moco";
version = "0.20.2";
src = fetchFromGitHub {
owner = "cybozu-go";
repo = "moco";
rev = "v${version}";
sha256 = "sha256-AubGcEFogKNJI6fDyc95yKdMzqAaQ4rEH+etJ1tTmB4=";
};
vendorHash = "sha256-Njy+oGu7TBShDjFd06ijRv6x6xlsYYdy2upvLL1MBwQ=";
doCheck = false;
subPackages = [ "cmd/kubectl-moco" ];
meta = with lib; {
description = "A kubectl plugin that interacts with the Moco MySQL operator";
homepage = "https://github.com/cybozu-go/moco/";
license = licenses.asl20;
maintainers = with maintainers; [ tboerger ];
};
}