depot/third_party/nixpkgs/pkgs/tools/security/sslscan/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

29 lines
716 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, openssl
}:
stdenv.mkDerivation rec {
pname = "sslscan";
version = "2.1.2";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = "refs/tags/${version}";
hash = "sha256-6teCWzv9DXhGSBjyIurRW3ymSTwMUlbJGjuXmsqpkUc=";
};
buildInputs = [ openssl ];
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
meta = with lib; {
description = "Tests SSL/TLS services and discover supported cipher suites";
homepage = "https://github.com/rbsec/sslscan";
changelog = "https://github.com/rbsec/sslscan/blob/${version}/Changelog";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fpletz globin ];
};
}