nixpkgs/pkgs/servers/sslh/default.nix

28 lines
792 B
Nix
Raw Normal View History

2018-01-28 01:19:26 +01:00
{ stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers, pcre }:
2015-02-05 00:36:27 +01:00
stdenv.mkDerivation rec {
name = "sslh-${version}";
2018-01-28 01:19:26 +01:00
version = "1.19";
2015-02-05 00:36:27 +01:00
src = fetchurl {
2016-05-13 00:01:57 +02:00
url = "http://www.rutschle.net/tech/sslh/sslh-v${version}.tar.gz";
2018-01-28 01:19:26 +01:00
sha256 = "17362d3srrr49c3vvyg69maynpxac92wvi5j0nvlnh6sjs1v377g";
2015-02-05 00:36:27 +01:00
};
postPatch = "patchShebangs *.sh";
2018-01-28 01:19:26 +01:00
buildInputs = [ libcap libconfig perl tcp_wrappers pcre ];
2015-02-05 00:36:27 +01:00
makeFlags = "USELIBCAP=1 USELIBWRAP=1";
2015-02-05 00:36:27 +01:00
installFlags = "PREFIX=$(out)";
meta = with stdenv.lib; {
description = "Applicative Protocol Multiplexer (e.g. share SSH and HTTPS on the same port)";
license = licenses.gpl2Plus;
homepage = http://www.rutschle.net/tech/sslh.shtml;
2016-05-13 00:01:57 +02:00
maintainers = with maintainers; [ koral fpletz ];
2015-02-05 00:36:27 +01:00
platforms = platforms.all;
};
}