Merge pull request #156567 from mweinelt/strongswan

This commit is contained in:
Franz Pletz 2022-01-25 05:48:45 +01:00 committed by GitHub
commit d77a3dcb5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> when upgrading!
version = "5.9.5"; # Make sure to also update <nixpkgs/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix> 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";