2024-01-02 11:29:13 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "kubedock";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "0.15.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "joyrex2001";
|
|
|
|
repo = "kubedock";
|
|
|
|
rev = version;
|
2024-01-13 08:15:51 +00:00
|
|
|
hash = "sha256-/uC/blvR6+F5Uyj1Fc5I5eSKucc0w76U0cwWKULfdyU=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
vendorHash = "sha256-rkn6JzPB1UNpaCon6LyYNUAsV88t3xbppDrtBwjBEHk=";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
}
|