depot/third_party/nixpkgs/pkgs/development/tools/kubedock/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

32 lines
843 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "kubedock";
version = "0.16.0";
src = fetchFromGitHub {
owner = "joyrex2001";
repo = "kubedock";
rev = version;
hash = "sha256-nShiBTkUNBshDDNuDvl0nnGy4BoFrn8hmtFKYOWjfpU=";
};
vendorHash = "sha256-BYd45oaJjAr2xctp1Ew8xdwtiTASNElXzQg47xUI7yU=";
# 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";
};
}