depot/third_party/nixpkgs/pkgs/development/tools/kubedock/default.nix
Default email c7cb07f092 Project import generated by Copybara.
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
2024-02-29 21:09:43 +01:00

32 lines
843 B
Nix

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