mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
24 lines
666 B
Nix
24 lines
666 B
Nix
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "oci-image-tool";
|
|
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";
|
|
homepage = https://github.com/opencontainers/image-tools;
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ nzhang-zh ];
|
|
};
|
|
}
|