strongswan: add strongswan-swanctl test to passthru.tests

This commit is contained in:
Martin Weinelt 2022-01-24 18:58:58 +01:00
parent c292a8799f
commit 6c76d36a3b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -7,6 +7,7 @@
, enableTNC ? false, trousers, sqlite, libxml2 , enableTNC ? false, trousers, sqlite, libxml2
, enableNetworkManager ? false, networkmanager , enableNetworkManager ? false, networkmanager
, darwin , darwin
, nixosTests
}: }:
# Note on curl support: If curl is built with gnutls as its backend, the # Note on curl support: If curl is built with gnutls as its backend, the
@ -101,6 +102,8 @@ stdenv.mkDerivation rec {
NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ; NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ;
passthru.tests = { inherit (nixosTests) strongswan-swanctl; };
meta = { meta = {
description = "OpenSource IPsec-based VPN Solution"; description = "OpenSource IPsec-based VPN Solution";
homepage = "https://www.strongswan.org"; homepage = "https://www.strongswan.org";