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