forked from mirrors/nixpkgs
skopeo: 1.11.0 -> 1.11.1
Diff: https://github.com/containers/skopeo/compare/v1.11.0...v1.11.1 Changelog: https://github.com/containers/skopeo/releases/tag/v1.11.1
This commit is contained in:
parent
f6f6796bc9
commit
6285356012
|
@ -12,17 +12,19 @@
|
|||
, fuse-overlayfs
|
||||
, dockerTools
|
||||
, runCommand
|
||||
, testers
|
||||
, skopeo
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "skopeo";
|
||||
version = "1.11.0";
|
||||
version = "1.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "containers";
|
||||
repo = "skopeo";
|
||||
hash = "sha256-P556Is03BeC0Tf+kNv+Luy0KASgTXsyZ/MrPaPFUHE8=";
|
||||
hash = "sha256-wTOcluPSguF6ZnKHlLelM5R2dIF9nd66qu7u/48uNyU=";
|
||||
};
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
@ -45,8 +47,7 @@ buildGoModule rec {
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
PREFIX=$out make install-binary install-completions
|
||||
PREFIX=$man make install-docs
|
||||
PREFIX=${placeholder "out"} make install-binary install-completions install-docs
|
||||
install ${passthru.policy}/default-policy.json -Dt $out/etc/containers
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
wrapProgram $out/bin/skopeo \
|
||||
|
@ -60,11 +61,15 @@ buildGoModule rec {
|
|||
install ${src}/default-policy.json -Dt $out
|
||||
'';
|
||||
tests = {
|
||||
version = testers.testVersion {
|
||||
package = skopeo;
|
||||
};
|
||||
inherit (dockerTools.examples) testNixFromDockerHub;
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/containers/skopeo/releases/tag/${src.rev}";
|
||||
description = "A command line utility for various operations on container images and image repositories";
|
||||
homepage = "https://github.com/containers/skopeo";
|
||||
maintainers = with maintainers; [ lewo ] ++ teams.podman.members;
|
||||
|
|
Loading…
Reference in a new issue