2009-03-02 16:23:52 +01:00
|
|
|
{ stdenv, fetchurl, openssl }:
|
|
|
|
|
2014-04-08 23:13:08 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "stunnel-${version}";
|
2014-08-20 08:56:23 +02:00
|
|
|
version = "5.03";
|
2014-04-08 23:13:08 +02:00
|
|
|
|
2009-03-02 16:23:52 +01:00
|
|
|
src = fetchurl {
|
2014-04-08 23:13:08 +02:00
|
|
|
url = "http://www.stunnel.org/downloads/${name}.tar.gz";
|
2014-08-20 08:56:23 +02:00
|
|
|
sha256 = "00yx7r46rad3yhdqfwk4grqs87wc6fiq055i91pnwxgscsa3c7ls";
|
2009-03-02 16:23:52 +01:00
|
|
|
};
|
|
|
|
|
2014-04-08 23:13:08 +02:00
|
|
|
buildInputs = [ openssl ];
|
|
|
|
configureFlags = [ "--with-ssl=${openssl}" ];
|
2013-05-30 12:11:13 +02:00
|
|
|
|
2009-03-02 16:23:52 +01:00
|
|
|
meta = {
|
2014-04-08 23:13:08 +02: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 16:23:52 +01:00
|
|
|
};
|
|
|
|
}
|