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