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