mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
39 lines
817 B
Nix
39 lines
817 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
openssl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "sslscan";
|
|
version = "2.2.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rbsec";
|
|
repo = "sslscan";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-kAVDTg5UGH/fV/UxSBg0x2iqDMKpj+hyMfSB+jNJHBU=";
|
|
};
|
|
|
|
buildInputs = [
|
|
(openssl.override { withZlib = true; })
|
|
];
|
|
|
|
makeFlags = [
|
|
"PREFIX=$(out)"
|
|
"CC=${stdenv.cc.targetPrefix}cc"
|
|
];
|
|
|
|
meta = {
|
|
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/${finalAttrs.version}/Changelog";
|
|
license = lib.licenses.gpl3Only;
|
|
maintainers = with lib.maintainers; [
|
|
fpletz
|
|
];
|
|
};
|
|
})
|