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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
784 B
Nix
Raw Normal View History

2020-08-02 16:41:16 +00:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "shipyard";
2022-03-02 15:45:36 +00:00
version = "0.3.48";
2020-08-02 16:41:16 +00:00
src = fetchFromGitHub {
rev = "v${version}";
owner = "shipyard-run";
repo = pname;
2022-03-02 15:45:36 +00:00
sha256 = "sha256-Hbvp8MV5usg0R+QXM7Laq9I6XeZnvuVCjj/aHmnskiE=";
2020-08-02 16:41:16 +00:00
};
2022-02-17 12:29:29 +00:00
vendorSha256 = "sha256-mXYnmDppVqhjlkGVkvp1YaEwBEkHBUddxLof389huMQ=";
2020-08-02 16:41:16 +00:00
2021-08-26 06:45:51 +00:00
ldflags = [
"-s" "-w" "-X main.version=${version}"
2020-08-02 16:41:16 +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 ];
};
}