@@ -0,0 +1,23 @@
1+{ lib, fetchFromGitHub, buildGoPackage }:
2+
3+buildGoPackage rec {
4+ name = "oci-image-tool-${version}";
5+ version = "1.0.0-rc1";
6+
7+ goPackagePath = "github.com/opencontainers/image-tools";
8+ subPackages = [ "cmd/oci-image-tool" ];
9+
10+ src = fetchFromGitHub {
11+ owner = "opencontainers";
12+ repo = "image-tools";
13+ rev = "v${version}";
14+ sha256 = "0c4n69smqlkf0r6khy9gbg5f810qh9g8jqsl9kibb0dyswizr14r";
15+ };
16+
17+ meta = {
18+ description = "A collection of tools for working with the OCI image format specification";
19+ homepage = https://github.com/opencontainers/image-tools;
20+ license = lib.licenses.asl20;
21+ maintainers = with lib.maintainers; [ nzhang-zh ];
22+ };
23+}