wireguard-tools: reference tests

This commit is contained in:
Jörg Thalheim 2020-04-25 11:03:30 +01:00
parent fcf547d0e2
commit 77dc7ef908
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -1,12 +1,12 @@
{
stdenv, fetchzip,
iptables ? null,
iproute ? null,
makeWrapper ? null,
openresolv ? null,
procps ? null,
wireguard-go ? null,
{ stdenv
, fetchzip
, nixosTests
, iptables ? null
, iproute ? null
, makeWrapper ? null
, openresolv ? null
, procps ? null
, wireguard-go ? null
}:
with stdenv.lib;
@ -47,7 +47,12 @@ stdenv.mkDerivation rec {
done
'';
passthru.updateScript = ./update.sh;
passthru = {
updateScript = ./update.sh;
tests = {
inherit (nixosTests) wg-quick wireguard-generated wireguard-namespaces;
};
};
meta = {
description = "Tools for the WireGuard secure network tunnel";