skopeo: 1.1.1 -> 1.2.0

https://github.com/containers/skopeo/releases/tag/v1.2.0
This commit is contained in:
zowoq 2020-09-25 19:06:34 +10:00
parent 6b0794caa5
commit 228b37d74e

View File

@ -1,7 +1,6 @@
{ stdenv { stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, runCommand
, gpgme , gpgme
, lvm2 , lvm2
, btrfs-progs , btrfs-progs
@ -10,18 +9,17 @@
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, fuse-overlayfs , fuse-overlayfs
, nixosTests
}: }:
buildGoModule rec { buildGoModule rec {
pname = "skopeo"; pname = "skopeo";
version = "1.1.1"; version = "1.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "containers"; owner = "containers";
repo = "skopeo"; repo = "skopeo";
sha256 = "0wkpw8fizxjpfypflp7rs1q128dg4hadwzdvn8k41h7f8cbcb39x"; sha256 = "1v7k3ki10i6082r7zswblyirx6zck674y6bw3plssw4p1l2611rd";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -37,12 +35,12 @@ buildGoModule rec {
buildPhase = '' buildPhase = ''
patchShebangs . patchShebangs .
make binary-local make bin/skopeo docs
''; '';
installPhase = '' installPhase = ''
make install-binary PREFIX=$out install -Dm755 bin/skopeo -t $out/bin
make install-docs MANINSTALLDIR="$man/share/man" installManPage docs/*.[1-9]
installShellCompletion --bash completions/bash/skopeo installShellCompletion --bash completions/bash/skopeo
''; '';
@ -51,8 +49,6 @@ buildGoModule rec {
--prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]} --prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]}
''; '';
passthru.tests.docker-tools = nixosTests.docker-tools;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A command line utility for various operations on container images and image repositories"; description = "A command line utility for various operations on container images and image repositories";
homepage = "https://github.com/containers/skopeo"; homepage = "https://github.com/containers/skopeo";