depot/third_party/nixpkgs/pkgs/tools/security/sslscan/default.nix
Default email b96e6f4393 Project import generated by Copybara.
GitOrigin-RevId: 20887e4bbfdae3aed6bfa1f53ddf138ee325515e
2021-07-03 21:40:35 -05:00

28 lines
626 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, openssl
}:
stdenv.mkDerivation rec {
pname = "sslscan";
version = "2.0.10";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = version;
sha256 = "sha256-L6cNmvR6zy2tkMHh+LBsQ3VZDUr0tD5AlOEj+dTLV5k=";
};
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";
license = licenses.gpl3Only;
maintainers = with maintainers; [ fpletz globin ];
};
}