44 lines
965 B
Nix
44 lines
965 B
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "sploitscan";
|
|
version = "0.11.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "xaitax";
|
|
repo = "SploitScan";
|
|
rev = "refs/tags/v.${version}";
|
|
hash = "sha256-d9s0j/78arKnbDCgMJMdUVF/RPfnAl59WAiJ0UvCCUU=";
|
|
};
|
|
|
|
pythonRelaxDeps = [
|
|
"openai"
|
|
"requests"
|
|
];
|
|
|
|
build-system = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
dependencies = with python3.pkgs; [
|
|
jinja2
|
|
openai
|
|
requests
|
|
];
|
|
|
|
pythonImportsCheck = [ "sploitscan" ];
|
|
|
|
meta = with lib; {
|
|
description = "Cybersecurity utility designed to provide detailed information on vulnerabilities and associated exploits";
|
|
homepage = "https://github.com/xaitax/SploitScan";
|
|
changelog = "https://github.com/xaitax/SploitScan/releases/tag/v${version}";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ fab ];
|
|
mainProgram = "sploitscan";
|
|
};
|
|
}
|