Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 762 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 openssl, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "sslscan"; 10 version = "2.2.0"; 11 12 src = fetchFromGitHub { 13 owner = "rbsec"; 14 repo = "sslscan"; 15 tag = version; 16 hash = "sha256-i8nrGni7mClJQIlkDt20JXyhlJALKCR0MZk51ACtev0="; 17 }; 18 19 buildInputs = [ openssl ]; 20 21 makeFlags = [ 22 "PREFIX=$(out)" 23 "CC=${stdenv.cc.targetPrefix}cc" 24 ]; 25 26 meta = with lib; { 27 description = "Tests SSL/TLS services and discover supported cipher suites"; 28 mainProgram = "sslscan"; 29 homepage = "https://github.com/rbsec/sslscan"; 30 changelog = "https://github.com/rbsec/sslscan/blob/${version}/Changelog"; 31 license = licenses.gpl3Only; 32 maintainers = with maintainers; [ 33 fpletz 34 globin 35 ]; 36 }; 37}