mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
31 lines
745 B
Nix
31 lines
745 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "sslscan";
|
|
version = "2.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rbsec";
|
|
repo = "sslscan";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-K0OJvb9jym7P6ehtV5M/edq4ZKwacn8D5IC4PyttqZY=";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" "CC=${stdenv.cc.targetPrefix}cc" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tests SSL/TLS services and discover supported cipher suites";
|
|
mainProgram = "sslscan";
|
|
homepage = "https://github.com/rbsec/sslscan";
|
|
changelog = "https://github.com/rbsec/sslscan/blob/${version}/Changelog";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
};
|
|
}
|