diff --git a/pkgs/tools/networking/strongswan/default.nix b/pkgs/tools/networking/strongswan/default.nix index 9edc1c79fb0c..560457bdaa5d 100644 --- a/pkgs/tools/networking/strongswan/default.nix +++ b/pkgs/tools/networking/strongswan/default.nix @@ -7,6 +7,7 @@ , enableTNC ? false, trousers, sqlite, libxml2 , enableNetworkManager ? false, networkmanager , darwin +, nixosTests }: # Note on curl support: If curl is built with gnutls as its backend, the @@ -17,13 +18,13 @@ with lib; stdenv.mkDerivation rec { pname = "strongswan"; - version = "5.9.4"; # Make sure to also update when upgrading! + version = "5.9.5"; # Make sure to also update when upgrading! src = fetchFromGitHub { owner = "strongswan"; repo = "strongswan"; rev = version; - sha256 = "1y1gs232x7hsbccjga9nbkf4bbi5wxazlkg00qd2v1nz86sfy4cd"; + sha256 = "sha256-Jx0Wd/xgkl/WrBfcEvZPogPAQp0MW9HE+AQR2anP5Vo="; }; dontPatchELF = true; @@ -101,6 +102,8 @@ stdenv.mkDerivation rec { NIX_LDFLAGS = optionalString stdenv.cc.isGNU "-lgcc_s" ; + passthru.tests = { inherit (nixosTests) strongswan-swanctl; }; + meta = { description = "OpenSource IPsec-based VPN Solution"; homepage = "https://www.strongswan.org";