nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at master 36 lines 747 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 openssl, 6}: 7 8stdenv.mkDerivation rec { 9 pname = "sslscan"; 10 version = "2.2.1"; 11 12 src = fetchFromGitHub { 13 owner = "rbsec"; 14 repo = "sslscan"; 15 tag = version; 16 hash = "sha256-HE0Jc0FSH/hK7wDhEOFR6nJJzyVAVlNhrCVlY0AlNU4="; 17 }; 18 19 buildInputs = [ openssl ]; 20 21 makeFlags = [ 22 "PREFIX=$(out)" 23 "CC=${stdenv.cc.targetPrefix}cc" 24 ]; 25 26 meta = { 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 = lib.licenses.gpl3Only; 32 maintainers = with lib.maintainers; [ 33 fpletz 34 ]; 35 }; 36}