main
 1{
 2  lib,
 3  buildGoModule,
 4  fetchFromGitHub,
 5}:
 6
 7buildGoModule (finalAttrs: {
 8  pname = "manifest-tool";
 9  version = "2.2.1";
10
11  subPackages = [ "cmd/manifest-tool" ];
12  modRoot = "./v2";
13
14  src = fetchFromGitHub {
15    owner = "estesp";
16    repo = "manifest-tool";
17    rev = "v${finalAttrs.version}";
18    hash = "sha256-aw8c8VhSFexUpQqXDOd/pRSiuRl4njBe+LDONTVK7Uw=";
19  };
20  vendorHash = null;
21
22  meta = {
23    description = "Tool for inspecting and creating multi-platform container image manifests";
24    homepage = "https://github.com/estesp/manifest-tool";
25    license = lib.licenses.asl20;
26    maintainers = with lib.maintainers; [ vdemeester ];
27    platforms = lib.platforms.unix;
28    mainProgram = "manifest-tool";
29  };
30})