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

30 lines
796 B
Nix
Raw Normal View History

2020-08-02 18:41:16 +02:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "shipyard";
2021-03-27 21:25:24 +01:00
version = "0.3.2";
2020-08-02 18:41:16 +02:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "shipyard-run";
repo = pname;
2021-03-27 21:25:24 +01:00
sha256 = "sha256-9eGaOSmHrJlcLOvZuLaNu8D/D/rWiyFb4ztxybUP0uM=";
2020-08-02 18:41:16 +02:00
};
2021-03-19 22:55:15 +01:00
vendorSha256 = "sha256-tTkPFftPDNXafIjAjNg6V6e/+2S/v5Do/YyAXPaGIqA=";
2020-08-02 18:41:16 +02: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 ];
};
}