nixpkgs/pkgs/tools/networking/stunnel/default.nix
Austin Seipp 4a6b7fc563 nixpkgs: stunnel 5.16 -> 5.20
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-07-20 21:50:29 -05:00

31 lines
754 B
Nix

{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
name = "stunnel-${version}";
version = "5.20";
src = fetchurl {
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
sha256 = "0ar940mw5sjxkh98d6wnrd366jfkqirbyf2b5kcdk1vjk9ra6dja";
};
buildInputs = [ openssl ];
configureFlags = [
"--with-ssl=${openssl}"
"--sysconfdir=/etc"
"--localstatedir=/var"
];
installFlags = [
"sysconfdir=\${out}/etc"
"localstatedir=\${TMPDIR}"
];
meta = {
description = "universal tls/ssl wrapper";
homepage = "http://www.stunnel.org/";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}