nixpkgs/pkgs/development/tools/kubedock/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
843 B
Nix
Raw Normal View History

2023-11-18 18:58:42 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubedock";
2024-08-03 03:23:51 +02:00
version = "0.17.0";
2023-11-18 18:58:42 +01:00
src = fetchFromGitHub {
owner = "joyrex2001";
repo = "kubedock";
rev = version;
2024-08-03 03:23:51 +02:00
hash = "sha256-UfOFehpN9Qj4LKH61akSidikPytZS4QSFOUzDDw3OCI=";
2023-11-18 18:58:42 +01:00
};
2024-08-03 03:23:51 +02:00
vendorHash = "sha256-qPBqKDn6NFa35+f+s2iCeHKdLI7ihK1DUMlq2mldNEI=";
2023-11-18 18:58:42 +01: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";
};
}