mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
29 lines
625 B
Nix
29 lines
625 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sslscan";
|
|
version = "2.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rbsec";
|
|
repo = "sslscan";
|
|
rev = version;
|
|
sha256 = "sha256-sEWWmfTdzqDoTyERoJUZ1/xqeRFcshc72mXzecij4TI=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|