diff options
author | Doron Behar <doron.behar@gmail.com> | 2021-01-06 16:08:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 16:08:13 +0200 |
commit | 41d68e4e138eb599e04e871682eafe7af481417f (patch) | |
tree | 633d6cbba42e4ccbc1774ab123630900a18a0b25 /pkgs | |
parent | 7aed38b8ab76bf326243711d257eafa76f15654f (diff) | |
parent | 6780f6c6071478079120189694edeb5af75f35a5 (diff) |
Merge pull request #94561 from cpcloud/shipyard
shipyard: init at 0.1.17
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/virtualization/shipyard/default.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/shipyard/default.nix b/pkgs/tools/virtualization/shipyard/default.nix new file mode 100644 index 0000000000000..e3017e98a070f --- /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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f21385b1287b0..efaff752cc723 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2626,6 +2626,8 @@ in simdjson = callPackage ../development/libraries/simdjson { }; + shipyard = callPackage ../tools/virtualization/shipyard { }; + simg2img = callPackage ../tools/filesystems/simg2img { }; simplenes = callPackage ../misc/emulators/simplenes { }; |