nixpkgs/pkgs/tools/virtualization/shipyard/default.nix

30 lines
796 B
Nix
Raw Normal View History

2020-08-02 17:41:16 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "shipyard";
2021-02-23 10:11:46 +00:00
version = "0.2.9";
2020-08-02 17:41:16 +01:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "shipyard-run";
repo = pname;
2021-02-23 10:11:46 +00:00
sha256 = "sha256-S2nH1E20frsJzW2RCn+eJ9ylVdhVbo4wesNwlQll9S4=";
2020-08-02 17:41:16 +01:00
};
2021-02-21 04:24:26 +00:00
vendorSha256 = "sha256-rglpY7A0S56slL+mXFRgaZwS0bF1b9zxxmNYiX6TJzs=";
2020-08-02 17:41:16 +01: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 ];
};
}