go-camo: remove tests which require network
This commit is contained in:
parent
8dc951af1d
commit
dbed75d12d
@ -15,6 +15,11 @@ buildGoModule rec {
|
|||||||
|
|
||||||
ldflags = [ "-s" "-w" "-X=main.ServerVersion=${version}" ];
|
ldflags = [ "-s" "-w" "-X=main.ServerVersion=${version}" ];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
# requires network access
|
||||||
|
rm pkg/camo/proxy_{,filter_}test.go
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A camo server is a special type of image proxy that proxies non-secure images over SSL/TLS";
|
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";
|
homepage = "https://github.com/cactus/go-camo";
|
||||||
|
Loading…
Reference in New Issue
Block a user