depot/third_party/nixpkgs/pkgs/tools/security/sslscan/default.nix

29 lines
626 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, openssl
}:
stdenv.mkDerivation rec {
pname = "sslscan";
version = "2.0.15";
src = fetchFromGitHub {
owner = "rbsec";
repo = "sslscan";
rev = version;
sha256 = "sha256-YUczZYdrFGNYHoVZJ/HRbULgYWILKeo7lqyndSQO2Kw=";
};
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 ];
};
}