diff --git a/pkgs/tools/networking/stunnel/default.nix b/pkgs/tools/networking/stunnel/default.nix new file mode 100644 index 000000000000..fa225877b403 --- /dev/null +++ b/pkgs/tools/networking/stunnel/default.nix @@ -0,0 +1,18 @@ +{ stdenv, fetchurl, openssl }: + +stdenv.mkDerivation { + name = "stunnel-4.26"; + + src = fetchurl { + url = http://www.stunnel.org/download/stunnel/src/stunnel-4.26.tar.gz; + sha256 = "1lvbd25krcz1sqk5pj2fv3r32h0160qdxrbzlqqs0kz8f987krp9"; + }; + + buildInputs = [openssl]; + + meta = { + description = "Stunnel - Universal SSL wrapper"; + homepage = http://www.stunnel.org/; + license = "GPLv2"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 90fc674f0fe5..332062e7e3ad 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1209,6 +1209,10 @@ let inherit builderDefs gmp; }; + stunnel = import ../tools/networking/stunnel { + inherit fetchurl stdenv openssl; + }; + su = import ../tools/misc/su { inherit fetchurl stdenv pam; };