2019-01-14 05:50:58 +01:00
|
|
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "oci-image-tool";
|
2019-01-14 05:50:58 +01:00
|
|
|
version = "1.0.0-rc1";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/opencontainers/image-tools";
|
|
|
|
subPackages = [ "cmd/oci-image-tool" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opencontainers";
|
|
|
|
repo = "image-tools";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0c4n69smqlkf0r6khy9gbg5f810qh9g8jqsl9kibb0dyswizr14r";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A collection of tools for working with the OCI image format specification";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/opencontainers/image-tools";
|
2019-01-14 05:50:58 +01:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
maintainers = with lib.maintainers; [ nzhang-zh ];
|
|
|
|
};
|
|
|
|
}
|