Files
nixpkgs/pkgs/by-name/ku/kubedock/package.nix
2026-07-07 10:56:31 +00:00

37 lines
884 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "kubedock";
version = "0.22.0";
src = fetchFromGitHub {
owner = "joyrex2001";
repo = "kubedock";
rev = finalAttrs.version;
hash = "sha256-BaQT1UWHejcVkvQs88hKZdfyouUcGaghAlI2u/2kv9s=";
};
vendorHash = "sha256-2kr0nYKCRjHJkyp8/fdxssoDY6jJ03Bnc21Dw34GvB8=";
# config.Build not defined as it would break r-ryantm
ldflags = [
"-s"
"-w"
"-X github.com/joyrex2001/kubedock/internal/config.Version=${finalAttrs.version}"
];
env.CGO_ENABLED = 0;
meta = {
description = "Minimal implementation of the Docker API that will orchestrate containers on a Kubernetes cluster";
homepage = "https://github.com/joyrex2001/kubedock";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mausch ];
mainProgram = "kubedock";
};
})