commit
a29c7741a3
@ -10,6 +10,8 @@
|
|||||||
, libselinux
|
, libselinux
|
||||||
, go-md2man
|
, go-md2man
|
||||||
, installShellFiles
|
, installShellFiles
|
||||||
|
, makeWrapper
|
||||||
|
, fuse-overlayfs
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -38,7 +40,7 @@ buildGoPackage {
|
|||||||
|
|
||||||
excludedPackages = [ "integration" ];
|
excludedPackages = [ "integration" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config go-md2man installShellFiles ];
|
nativeBuildInputs = [ pkg-config go-md2man installShellFiles makeWrapper ];
|
||||||
buildInputs = [ gpgme ]
|
buildInputs = [ gpgme ]
|
||||||
++ stdenv.lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs libselinux ];
|
++ stdenv.lib.optionals stdenv.isLinux [ libgpgerror lvm2 btrfs-progs libselinux ];
|
||||||
|
|
||||||
@ -56,6 +58,11 @@ buildGoPackage {
|
|||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = stdenv.lib.optionals stdenv.isLinux ''
|
||||||
|
wrapProgram $out/bin/skopeo \
|
||||||
|
--prefix PATH : ${stdenv.lib.makeBinPath [ fuse-overlayfs ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
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/containers/skopeo";
|
homepage = "https://github.com/containers/skopeo";
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
longDescription = "An implementation of overlay+shiftfs in FUSE for rootless containers.";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [ ma9e ] ++ teams.podman.members;
|
maintainers = with maintainers; [ ma9e ] ++ teams.podman.members;
|
||||||
platforms = platforms.unix;
|
platforms = platforms.linux;
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user