nixpkgs/pkgs/servers/sslh/default.nix

28 lines
781 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers }:
2015-02-04 23:36:27 +00:00
stdenv.mkDerivation rec {
name = "sslh-${version}";
2016-05-12 23:01:57 +01:00
version = "1.18";
2015-02-04 23:36:27 +00:00
src = fetchurl {
2016-05-12 23:01:57 +01:00
url = "http://www.rutschle.net/tech/sslh/sslh-v${version}.tar.gz";
sha256 = "1ba5fxd2s6jh9n3wbp2a782q7syc4m6qvfrggnscdbywfyrsa08n";
2015-02-04 23:36:27 +00:00
};
postPatch = "patchShebangs *.sh";
buildInputs = [ libcap libconfig perl tcp_wrappers ];
2015-02-04 23:36:27 +00:00
makeFlags = "USELIBCAP=1 USELIBWRAP=1";
2015-02-04 23:36:27 +00: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-12 23:01:57 +01:00
maintainers = with maintainers; [ koral fpletz ];
2015-02-04 23:36:27 +00:00
platforms = platforms.all;
};
}