3
0
Fork 0
forked from mirrors/nixpkgs

skopeo: 1.2.0 -> 1.2.1

https://github.com/containers/skopeo/releases/tag/v1.2.1
This commit is contained in:
zowoq 2021-01-12 05:40:55 +10:00
parent 7092dd52f8
commit a5c8741dd9

View file

@ -1,4 +1,5 @@
{ lib, stdenv { lib
, stdenv
, buildGoModule , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, gpgme , gpgme
@ -13,13 +14,13 @@
buildGoModule rec { buildGoModule rec {
pname = "skopeo"; pname = "skopeo";
version = "1.2.0"; version = "1.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "containers"; owner = "containers";
repo = "skopeo"; repo = "skopeo";
sha256 = "1v7k3ki10i6082r7zswblyirx6zck674y6bw3plssw4p1l2611rd"; sha256 = "1y9pmijazbgxzriymrm7zrifmkd1x1wad9b3zjcj7zwr6c999dhg";
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];
@ -31,7 +32,7 @@ buildGoModule rec {
nativeBuildInputs = [ pkg-config go-md2man installShellFiles makeWrapper ]; nativeBuildInputs = [ pkg-config go-md2man installShellFiles makeWrapper ];
buildInputs = [ gpgme ] buildInputs = [ gpgme ]
++ stdenv.lib.optionals stdenv.isLinux [ lvm2 btrfs-progs ]; ++ lib.optionals stdenv.isLinux [ lvm2 btrfs-progs ];
buildPhase = '' buildPhase = ''
patchShebangs . patchShebangs .
@ -42,9 +43,9 @@ buildGoModule rec {
install -Dm755 bin/skopeo -t $out/bin install -Dm755 bin/skopeo -t $out/bin
installManPage docs/*.[1-9] installManPage docs/*.[1-9]
installShellCompletion --bash completions/bash/skopeo installShellCompletion --bash completions/bash/skopeo
'' + stdenv.lib.optionalString stdenv.isLinux '' '' + lib.optionalString stdenv.isLinux ''
wrapProgram $out/bin/skopeo \ wrapProgram $out/bin/skopeo \
--prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]} --prefix PATH : ${lib.makeBinPath [ fuse-overlayfs ]}
''; '';
meta = with lib; { meta = with lib; {