skopeo: 0.1.40 -> 0.1.41
https://github.com/containers/skopeo/releases/tag/v0.1.41
This commit is contained in:
parent
58ce5a3f47
commit
376743d3f2
|
@ -1,17 +1,17 @@
|
||||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand
|
||||||
, gpgme, libgpgerror, lvm2, btrfs-progs, pkgconfig, ostree, libselinux
|
, gpgme, libgpgerror, lvm2, btrfs-progs, pkgconfig, libselinux
|
||||||
, go-md2man }:
|
, go-md2man }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.1.40";
|
version = "0.1.41";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "containers";
|
owner = "containers";
|
||||||
repo = "skopeo";
|
repo = "skopeo";
|
||||||
sha256 = "1bagirzdzjhicn5dr691092ac3q6lhz3xngjzgqiqkxnvpz7p6cn";
|
sha256 = "0aqw17irj2wn4a8g9hzfm5z5azqq33z6r1dbg1gyn2c8qxy1vfxs";
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultPolicyFile = runCommand "skopeo-default-policy.json" {} "cp ${src}/default-policy.json $out";
|
defaultPolicyFile = runCommand "skopeo-default-policy.json" {} "cp ${src}/default-policy.json $out";
|
||||||
|
@ -29,7 +29,7 @@ buildGoPackage {
|
||||||
excludedPackages = "integration";
|
excludedPackages = "integration";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig (lib.getBin go-md2man) ];
|
nativeBuildInputs = [ pkgconfig (lib.getBin go-md2man) ];
|
||||||
buildInputs = [ gpgme ] ++ lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs ostree libselinux ];
|
buildInputs = [ gpgme ] ++ lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs libselinux ];
|
||||||
|
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=
|
||||||
|
@ -51,7 +51,7 @@ buildGoPackage {
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A command line utility for various operations on container images and image repositories";
|
description = "A command line utility for various operations on container images and image repositories";
|
||||||
homepage = https://github.com/projectatomic/skopeo;
|
homepage = "https://github.com/containers/skopeo";
|
||||||
maintainers = with stdenv.lib.maintainers; [ vdemeester lewo ];
|
maintainers = with stdenv.lib.maintainers; [ vdemeester lewo ];
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = stdenv.lib.licenses.asl20;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue