nixpkgs/pkgs/tools/networking/strongswan/default.nix
Eelco Dolstra 7495c61d49 Merge remote-tracking branch 'origin/darwin-clang-stdenv' into staging
Conflicts:
	pkgs/applications/editors/vim/macvim.nix
2014-11-04 14:30:43 +01:00

25 lines
723 B
Nix

{ stdenv, fetchurl, gmp, autoreconfHook, gettext, pkgconfig }:
stdenv.mkDerivation rec {
name = "strongswan-5.2.0";
src = fetchurl {
url = "http://download.strongswan.org/${name}.tar.bz2";
sha256 = "1ki6v9c54ykppqnj3prgh62na97yajnvnm2zr1gjxzv05syk035h";
};
patches = [ ./respect-path.patch ./no-hardcoded-sysconfdir.patch ];
buildInputs = [ gmp autoreconfHook gettext pkgconfig ];
configureFlags = [ "--enable-swanctl" "--enable-cmd" ];
meta = {
maintainers = [ stdenv.lib.maintainers.shlevy ];
description = "OpenSource IPsec-based VPN Solution";
homepage = https://www.strongswan.org;
license = stdenv.lib.licenses.gpl2Plus;
inherit (stdenv.gcc.gcc.meta) platforms;
};
}