Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, stdenv 3, fetchFromGitHub 4, openssl 5}: 6 7stdenv.mkDerivation rec { 8 pname = "sslscan"; 9 version = "2.0.16"; 10 11 src = fetchFromGitHub { 12 owner = "rbsec"; 13 repo = "sslscan"; 14 rev = version; 15 sha256 = "sha256-1j5p9cuSxc8u6/+puP9ywHEljeva18m+WO3M8gbpkIU="; 16 }; 17 18 buildInputs = [ openssl ]; 19 20 makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ]; 21 22 meta = with lib; { 23 description = "Tests SSL/TLS services and discover supported cipher suites"; 24 homepage = "https://github.com/rbsec/sslscan"; 25 license = licenses.gpl3Only; 26 maintainers = with maintainers; [ fpletz globin ]; 27 }; 28}