2021-03-31 12:50:48 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, openssl
|
|
|
|
}:
|
2015-10-09 09:14:24 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "sslscan";
|
2021-07-04 00:26:12 +02:00
|
|
|
version = "2.0.10";
|
2015-10-09 09:14:24 +02:00
|
|
|
|
2016-10-09 12:51:23 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rbsec";
|
|
|
|
repo = "sslscan";
|
2021-03-31 12:50:48 +02:00
|
|
|
rev = version;
|
2021-07-04 00:26:12 +02:00
|
|
|
sha256 = "sha256-L6cNmvR6zy2tkMHh+LBsQ3VZDUr0tD5AlOEj+dTLV5k=";
|
2015-10-09 09:14:24 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
2021-02-16 12:48:46 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
|
2015-10-09 09:14:24 +02:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-10-09 09:14:24 +02:00
|
|
|
description = "Tests SSL/TLS services and discover supported cipher suites";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/rbsec/sslscan";
|
2021-03-31 12:50:48 +02:00
|
|
|
license = licenses.gpl3Only;
|
2015-10-09 09:14:24 +02:00
|
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
|
|
};
|
|
|
|
}
|