New sslh module.
This commit is contained in:
27
pkgs/servers/sslh/default.nix
Normal file
27
pkgs/servers/sslh/default.nix
Normal file
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user