sslh: 1.21c → 1.22c

+8 -6
+8 -6
pkgs/servers/sslh/default.nix
··· 1 - { lib, stdenv, fetchurl, libcap, libconfig, perl, tcp_wrappers, pcre, nixosTests }: 2 3 stdenv.mkDerivation rec { 4 pname = "sslh"; 5 - version = "1.21c"; 6 7 - src = fetchurl { 8 - url = "https://www.rutschle.net/tech/sslh/sslh-v${version}.tar.gz"; 9 - sha256 = "01p7w74ppszxgz6n41lqd6xqvc7bjk2dsc769dd1yb7q4qvpiziv"; 10 }; 11 12 postPatch = "patchShebangs *.sh"; 13 14 - buildInputs = [ libcap libconfig perl tcp_wrappers pcre ]; 15 16 makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ]; 17
··· 1 + { lib, stdenv, fetchFromGitHub, libcap, libconfig, perl, tcp_wrappers, pcre2, nixosTests }: 2 3 stdenv.mkDerivation rec { 4 pname = "sslh"; 5 + version = "1.22c"; 6 7 + src = fetchFromGitHub { 8 + owner = "yrutschle"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-A+nUWiOPoz/T5afZUzt5In01e049TgHisTF8P5Vj180="; 12 }; 13 14 postPatch = "patchShebangs *.sh"; 15 16 + buildInputs = [ libcap libconfig perl tcp_wrappers pcre2 ]; 17 18 makeFlags = [ "USELIBCAP=1" "USELIBWRAP=1" ]; 19