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