38 lines
762 B
Nix
38 lines
762 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sslscan";
|
|
version = "2.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rbsec";
|
|
repo = "sslscan";
|
|
tag = version;
|
|
hash = "sha256-i8nrGni7mClJQIlkDt20JXyhlJALKCR0MZk51ACtev0=";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tests SSL/TLS services and discover supported cipher suites";
|
|
mainProgram = "sslscan";
|
|
homepage = "https://github.com/rbsec/sslscan";
|
|
changelog = "https://github.com/rbsec/sslscan/blob/${version}/Changelog";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [
|
|
fpletz
|
|
globin
|
|
];
|
|
};
|
|
}
|