summaryrefslogtreecommitdiffstats
path: root/pkgs/tools
diff options
context:
space:
mode:
authorDoron Behar <doron.behar@gmail.com>2021-01-06 16:08:13 +0200
committerGitHub <noreply@github.com>2021-01-06 16:08:13 +0200
commit41d68e4e138eb599e04e871682eafe7af481417f (patch)
tree633d6cbba42e4ccbc1774ab123630900a18a0b25 /pkgs/tools
parent7aed38b8ab76bf326243711d257eafa76f15654f (diff)
parent6780f6c6071478079120189694edeb5af75f35a5 (diff)
Merge pull request #94561 from cpcloud/shipyard
shipyard: init at 0.1.17
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/virtualization/shipyard/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/shipyard/default.nix b/pkgs/tools/virtualization/shipyard/default.nix
new file mode 100644
index 000000000000..e3017e98a070
--- /dev/null
+++ b/pkgs/tools/virtualization/shipyard/default.nix
@@ -0,0 +1,29 @@
+{ lib, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "shipyard";
+ version = "0.1.17";
+
+ src = fetchFromGitHub {
+ rev = "v${version}";
+ owner = "shipyard-run";
+ repo = pname;
+ sha256 = "13cp7qpxchnyxdm26xwdcp557nj16f4h8vlj0p4h79z5g7pcklln";
+ };
+ vendorSha256 = "0gib9s09lz91wawbms9zq4wc5k6bdxfzpxm8q92h0bsjw1bj1hzs";
+
+ 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 ];
+ };
+}