nixpkgs/pkgs/tools/networking/strongswan/default.nix

25 lines
633 B
Nix
Raw Normal View History

2014-11-14 20:22:14 +00:00
{ stdenv, fetchurl, gmp, pkgconfig }:
2014-09-16 18:10:37 +00:00
stdenv.mkDerivation rec {
2014-11-14 20:22:14 +00:00
name = "strongswan-5.2.1";
2014-09-16 18:10:37 +00:00
src = fetchurl {
url = "http://download.strongswan.org/${name}.tar.bz2";
2014-11-14 20:22:14 +00:00
sha256 = "05cjjd7gg65bl6fswj2r2i13nn1nk4x86s06y75gwfdvnlrsnlga";
2014-09-16 18:10:37 +00:00
};
2014-11-14 20:22:14 +00:00
buildInputs = [ gmp pkgconfig ];
2014-09-19 05:09:00 +00:00
2014-10-14 08:02:02 +00:00
configureFlags = [ "--enable-swanctl" "--enable-cmd" ];
2014-09-16 18:10:37 +00:00
NIX_LDFLAGS = "-lgcc_s" ;
2014-09-16 18:10:37 +00:00
meta = {
maintainers = [ stdenv.lib.maintainers.shlevy ];
description = "OpenSource IPsec-based VPN Solution";
homepage = https://www.strongswan.org;
license = stdenv.lib.licenses.gpl2Plus;
2014-10-10 13:48:34 +00:00
inherit (stdenv.gcc.gcc.meta) platforms;
2014-09-16 18:10:37 +00:00
};
}