depot/third_party/nixpkgs/pkgs/tools/security/sslscan/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

30 lines
745 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, openssl
}:
stdenv.mkDerivation rec {
pname = "sslscan";
version = "2.1.4";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = "refs/tags/${version}";
hash = "sha256-we55Oo9sIZ1FQn94xejlCKwlZBDMrQs/1f++blXTTUM=";
};
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 ];
};
}