2021-01-09 10:05:03 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shipyard";
|
2021-09-18 10:52:07 +00:00
|
|
|
version = "0.3.30";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "shipyard-run";
|
|
|
|
repo = pname;
|
2021-09-18 10:52:07 +00:00
|
|
|
sha256 = "sha256-NaCG0oG9j1yoXOsfnQXFd+PdZfJTOdvYndFIftIAnxE=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
2021-09-18 10:52:07 +00:00
|
|
|
vendorSha256 = "sha256-YClNdtnakJJOEytTbopTXeZy218N4vHP3tQLavLgPbg=";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [
|
|
|
|
"-s" "-w" "-X main.version=${version}"
|
2021-01-09 10:05:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|