forked from mirrors/nixpkgs
Merge pull request #24511 from holidaycheck/update-skopeo
skopeo: 0.1.16 -> 0.1.18
This commit is contained in:
commit
9e1537cd21
|
@ -1,22 +1,29 @@
|
|||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, gpgme }:
|
||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, gpgme, libgpgerror, devicemapper, btrfs-progs }:
|
||||
|
||||
with stdenv.lib;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "skopeo-${version}";
|
||||
version = "0.1.16";
|
||||
version = "0.1.18";
|
||||
rev = "v${version}";
|
||||
|
||||
goPackagePath = "github.com/projectatomic/skopeo";
|
||||
excludedPackages = "integration";
|
||||
|
||||
buildInputs = [ gpgme ];
|
||||
buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "projectatomic";
|
||||
repo = "skopeo";
|
||||
sha256 = "11na7imx6yc1zijb010hx6fjh6v0m3wm5r4sa2nkclm5lkjq259b";
|
||||
sha256 = "13k29i5hx909hvddl2xkyw4qzxq2q20ay9bkal3xi063s6l0sh0z";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
export CGO_CFLAGS="-I${getDev gpgme}/include -I${getDev libgpgerror}/include -I${getDev devicemapper}/include -I${getDev btrfs-progs}/include"
|
||||
export CGO_LDFLAGS="-L${getLib gpgme}/lib -L${getLib libgpgerror}/lib -L${getLib devicemapper}/lib"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "A command line utility for various operations on container images and image repositories";
|
||||
homepage = "https://github.com/projectatomic/skopeo";
|
||||
|
|
Loading…
Reference in a new issue