diff --git a/pkgs/development/tools/kubedock/default.nix b/pkgs/development/tools/kubedock/default.nix new file mode 100644 index 000000000000..04c9521b13d5 --- /dev/null +++ b/pkgs/development/tools/kubedock/default.nix @@ -0,0 +1,32 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "kubedock"; + version = "0.14.1"; + + src = fetchFromGitHub { + owner = "joyrex2001"; + repo = "kubedock"; + rev = version; + hash = "sha256-xjt/RqvkOHTSTZwNgxmlUeYndPW9jwUE1knLyNXDxaE="; + }; + + vendorHash = "sha256-4X4v40c4J5SPwj53Zk+j+A9k0RkHGwqz128E+FnLr1c="; + + # config.Build not defined as it would break r-ryantm + ldflags = [ + "-s" + "-w" + "-X github.com/joyrex2001/kubedock/internal/config.Version=${version}" + ]; + + CGO_ENABLED = 0; + + meta = with lib; { + description = "Minimal implementation of the Docker API that will orchestrate containers on a Kubernetes cluster"; + homepage = "https://github.com/joyrex2001/kubedock"; + license = licenses.mit; + maintainers = with maintainers; [ mausch ]; + mainProgram = "kubedock"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 501fab51e9e6..1c4cae9bee7a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9885,6 +9885,8 @@ with pkgs; buildGoModule = buildGo120Module; }; + kubedock = callPackage ../development/tools/kubedock { }; + kubepug = callPackage ../development/tools/kubepug { }; kubeshark = callPackage ../applications/networking/cluster/kubeshark { };