aboutsummaryrefslogtreecommitdiff
path: root/nix
diff options
context:
space:
mode:
authorAlex <alex@adnab.me>2022-09-27 11:55:49 +0200
committerAlex <alex@adnab.me>2022-09-27 11:55:49 +0200
commit2197753dfdb25944e55c25d911ae6d14b8506c4d (patch)
tree74e6273bc6c520e2546ba31a8f86bb44e0be69b2 /nix
parent3f95a0f717885ed2e0ac6ec6cb745daad0d572fd (diff)
parentd104ae871170e5d1dac644921815bcce8496f23c (diff)
downloadgarage-2197753dfdb25944e55c25d911ae6d14b8506c4d.tar.gz
garage-2197753dfdb25944e55c25d911ae6d14b8506c4d.zip
Merge pull request 'Add step to generate multi-arch Docker container in CI' (#393) from multi-arch-container into mainv0.8.0-rc1
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/393
Diffstat (limited to '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;
+ };
+}