skopeo: add testNixFromDockerHub to passthru.tests

This commit is contained in:
zowoq 2022-04-05 16:16:39 +10:00
parent 7dabcdbcf4
commit b7054292f7

View file

@ -10,6 +10,7 @@
, installShellFiles , installShellFiles
, makeWrapper , makeWrapper
, fuse-overlayfs , fuse-overlayfs
, dockerTools
}: }:
buildGoModule rec { buildGoModule rec {
@ -53,6 +54,10 @@ buildGoModule rec {
runHook postInstall runHook postInstall
''; '';
passthru.tests = {
inherit (dockerTools.examples) testNixFromDockerHub;
};
meta = with lib; { meta = with 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";