diff options
author | koral <koral@mailoo.org> | 2015-02-05 00:36:27 +0100 |
---|---|---|
committer | koral <koral@mailoo.org> | 2015-02-05 13:30:39 +0100 |
commit | 1439e72147bf73adb862fd2d153602a5e52103d7 (patch) | |
tree | 81f8da6bd72c497bb98d29697583d67adfb39a07 /pkgs/servers/sslh | |
parent | b9cc04329b19119ae0b2a410868d014f3f82cf10 (diff) |
New sslh module.
Diffstat (limited to 'pkgs/servers/sslh')
-rw-r--r-- | pkgs/servers/sslh/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/servers/sslh/default.nix b/pkgs/servers/sslh/default.nix new file mode 100644 index 0000000000000..d646e28fb0f49 --- /dev/null +++ b/pkgs/servers/sslh/default.nix @@ -0,0 +1,27 @@ +{ stdenv, fetchurl, libcap, libconfig, perl }: + +stdenv.mkDerivation rec { + name = "sslh-${version}"; + version = "1.16"; + + src = fetchurl { + url = "https://github.com/yrutschle/sslh/archive/v${version}.tar.gz"; + sha256 = "0xwi2bflvq4phrqjic84xch20jkg3wdys219mw2cy23sjkzk63mb"; + }; + + postPatch = "patchShebangs *.sh"; + + buildInputs = [ libcap libconfig perl ]; + + makeFlags = "USELIBCAP=1"; + + 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; + maintainers = [ maintainers.koral ]; + platforms = platforms.all; + }; +} |