Merge pull request #181408 from qowoz/skopeo

skopeo: 1.8.0 -> 1.9.0
This commit is contained in:
adisbladis 2022-07-14 06:45:07 +08:00 committed by GitHub
commit f09cb54c94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,13 +15,13 @@
buildGoModule rec {
pname = "skopeo";
version = "1.8.0";
version = "1.9.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "containers";
repo = "skopeo";
sha256 = "sha256-LZN8v3pk5OvRdnhAHOa76QASRL8IPbMIFoH6ERu5r6E=";
sha256 = "sha256-z+jrDbXtcx4dH5n4X3WDHSIzmRP09cpO/WIAU3Ewas0=";
};
outputs = [ "out" "man" ];
@ -38,15 +38,14 @@ buildGoModule rec {
buildPhase = ''
runHook preBuild
patchShebangs .
make bin/skopeo docs
make bin/skopeo completions docs
runHook postBuild
'';
installPhase = ''
runHook preInstall
install -Dm755 bin/skopeo -t $out/bin
installManPage docs/*.[1-9]
installShellCompletion --bash completions/bash/skopeo
PREFIX=$out make install-binary install-completions
PREFIX=$man make install-docs
'' + lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/skopeo \
--prefix PATH : ${lib.makeBinPath [ fuse-overlayfs ]}