mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 15:15:36 +00:00
27 lines
669 B
Nix
27 lines
669 B
Nix
{ stdenv, fetchurl, gmp, pkgconfig, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "strongswan-5.2.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.strongswan.org/${name}.tar.bz2";
|
|
sha256 = "05cjjd7gg65bl6fswj2r2i13nn1nk4x86s06y75gwfdvnlrsnlga";
|
|
};
|
|
|
|
dontPatchELF = true;
|
|
|
|
buildInputs = [ gmp pkgconfig python ];
|
|
|
|
configureFlags = [ "--enable-swanctl" "--enable-cmd" ];
|
|
|
|
NIX_LDFLAGS = "-lgcc_s" ;
|
|
|
|
meta = {
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
|
description = "OpenSource IPsec-based VPN Solution";
|
|
homepage = https://www.strongswan.org;
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|