2021-01-09 10:05:03 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "shipyard";
|
2021-03-15 08:37:03 +00:00
|
|
|
version = "0.2.15";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "shipyard-run";
|
|
|
|
repo = pname;
|
2021-03-15 08:37:03 +00:00
|
|
|
sha256 = "sha256-QJn1A2l9bK4jUObnKfzO9/2LxY9i+ueGlZiefqCYZKA=";
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
2021-03-15 08:37:03 +00:00
|
|
|
vendorSha256 = "sha256-bpPFtyDPelLfpxU5OGkEPrp6EvERThg1TzAQ6otg8B0=";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
buildFlagsArray = [
|
|
|
|
"-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 ];
|
|
|
|
};
|
|
|
|
}
|