nixpkgs/pkgs/tools/virtualization/shipyard/default.nix
2021-09-16 18:08:31 +00:00

29 lines
784 B
Nix

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "shipyard";
version = "0.3.30";
src = fetchFromGitHub {
rev = "v${version}";
owner = "shipyard-run";
repo = pname;
sha256 = "sha256-NaCG0oG9j1yoXOsfnQXFd+PdZfJTOdvYndFIftIAnxE=";
};
vendorSha256 = "sha256-YClNdtnakJJOEytTbopTXeZy218N4vHP3tQLavLgPbg=";
ldflags = [
"-s" "-w" "-X main.version=${version}"
];
# Tests require a large variety of tools and resources to run including
# Kubernetes, Docker, and GCC.
doCheck = false;
meta = with lib; {
description = "Shipyard is a tool for building modern cloud native development environments";
homepage = "https://shipyard.run";
license = licenses.mpl20;
maintainers = with maintainers; [ cpcloud ];
};
}