2009-03-02 15:23:52 +00:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
2014-04-08 21:13:08 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "stunnel-${version}";
|
2014-10-11 12:15:32 +00:00
|
|
|
version = "5.05";
|
2014-04-08 21:13:08 +00:00
|
|
|
|
2009-03-02 15:23:52 +00:00
|
|
|
src = fetchurl {
|
2014-04-08 21:13:08 +00:00
|
|
|
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
|
2014-10-11 12:15:32 +00:00
|
|
|
# SHA256 provided by upstream.
|
|
|
|
sha256 = "c7e1653345150db7e48d00e1129cf571c7c85de8e7e1aa70b21cf1d76b1e31ef";
|
2009-03-02 15:23:52 +00:00
|
|
|
};
|
|
|
|
|
2014-04-08 21:13:08 +00:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
configureFlags = [ "--with-ssl=${openssl}" ];
|
2013-05-30 10:11:13 +00:00
|
|
|
|
2009-03-02 15:23:52 +00:00
|
|
|
meta = {
|
2014-04-08 21:13:08 +00:00
|
|
|
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 ];
|
2009-03-02 15:23:52 +00:00
|
|
|
};
|
|
|
|
}
|