go-camo: remove tests which require network

This commit is contained in:
Sandro Jäckel 2022-05-25 19:33:32 +02:00
parent 8dc951af1d
commit dbed75d12d
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -15,6 +15,11 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X=main.ServerVersion=${version}" ];
preCheck = ''
# requires network access
rm pkg/camo/proxy_{,filter_}test.go
'';
meta = with lib; {
description = "A camo server is a special type of image proxy that proxies non-secure images over SSL/TLS";
homepage = "https://github.com/cactus/go-camo";