diff options
author | Alex <alex@adnab.me> | 2022-09-27 11:55:49 +0200 |
---|---|---|
committer | Alex <alex@adnab.me> | 2022-09-27 11:55:49 +0200 |
commit | 2197753dfdb25944e55c25d911ae6d14b8506c4d (patch) | |
tree | 74e6273bc6c520e2546ba31a8f86bb44e0be69b2 /nix | |
parent | 3f95a0f717885ed2e0ac6ec6cb745daad0d572fd (diff) | |
parent | d104ae871170e5d1dac644921815bcce8496f23c (diff) | |
download | garage-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.nix | 23 |
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; + }; +} |