aboutsummaryrefslogtreecommitdiff
path: root/nix/manifest-tool.nix
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-09-26 17:19:21 +0200
committerAlex Auvolat <alex@adnab.me>2022-09-26 19:09:55 +0200
commitd104ae871170e5d1dac644921815bcce8496f23c (patch)
tree59ec54a001595893af56f5ed42b7eabd0b53086b /nix/manifest-tool.nix
parentea7a571d883fcf40822ccd265e4975ac607b234a (diff)
downloadgarage-d104ae871170e5d1dac644921815bcce8496f23c.tar.gz
garage-d104ae871170e5d1dac644921815bcce8496f23c.zip
Add step to generate multi-arch Docker container in CImulti-arch-container
Diffstat (limited to 'nix/manifest-tool.nix')
-rw-r--r--nix/manifest-tool.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nix/manifest-tool.nix b/nix/manifest-tool.nix
new file mode 100644
index 00000000..182ccc0e
--- /dev/null
+++ b/nix/manifest-tool.nix
@@ -0,0 +1,23 @@
+pkgs:
+pkgs.buildGoModule rec {
+ pname = "manifest-tool";
+ version = "2.0.5";
+
+ src = pkgs.fetchFromGitHub {
+ owner = "estesp";
+ repo = "manifest-tool";
+ rev = "v${version}";
+ sha256 = "hjCGKnE0yrlnF/VIzOwcDzmQX3Wft+21KCny/opqdLg=";
+ } + "/v2";
+
+ vendorSha256 = null;
+
+ checkPhase = "true";
+
+ meta = with pkgs.lib; {
+ description = "Command line tool to create and query container image manifest list/indexes";
+ homepage = "https://github.com/estesp/manifest-tool";
+ license = licenses.asl20;
+ platforms = platforms.linux;
+ };
+}