Merge pull request #261496 from fabaff/reptor-bump
python311Packages.reptor: 0.4 -> 0.5
This commit is contained in:
commit
83b89d2327
1 changed files with 15 additions and 3 deletions
|
@ -3,6 +3,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, certifi
|
, certifi
|
||||||
, charset-normalizer
|
, charset-normalizer
|
||||||
|
, cvss
|
||||||
, deepl
|
, deepl
|
||||||
, django
|
, django
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
@ -22,13 +23,14 @@
|
||||||
, sqlparse
|
, sqlparse
|
||||||
, termcolor
|
, termcolor
|
||||||
, toml
|
, toml
|
||||||
|
, tomli-w
|
||||||
, urllib3
|
, urllib3
|
||||||
, xmltodict
|
, xmltodict
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "reptor";
|
pname = "reptor";
|
||||||
version = "0.4";
|
version = "0.5";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.8";
|
disabled = pythonOlder "3.8";
|
||||||
|
@ -37,7 +39,7 @@ buildPythonPackage rec {
|
||||||
owner = "Syslifters";
|
owner = "Syslifters";
|
||||||
repo = "reptor";
|
repo = "reptor";
|
||||||
rev = "refs/tags/${version}";
|
rev = "refs/tags/${version}";
|
||||||
hash = "sha256-3FRMdiSKWlEUmggtSDea9w386uwAn/VUzXiD1xRNuxQ=";
|
hash = "sha256-TN4ti860bMegxsCMhSxVQwiTLCB9nl+CJ+xDzJQcRuE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -48,6 +50,7 @@ buildPythonPackage rec {
|
||||||
asgiref
|
asgiref
|
||||||
certifi
|
certifi
|
||||||
charset-normalizer
|
charset-normalizer
|
||||||
|
cvss
|
||||||
django
|
django
|
||||||
idna
|
idna
|
||||||
markdown-it-py
|
markdown-it-py
|
||||||
|
@ -59,6 +62,7 @@ buildPythonPackage rec {
|
||||||
sqlparse
|
sqlparse
|
||||||
termcolor
|
termcolor
|
||||||
toml
|
toml
|
||||||
|
tomli-w
|
||||||
urllib3
|
urllib3
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
|
@ -66,7 +70,7 @@ buildPythonPackage rec {
|
||||||
passthru.optional-dependencies = {
|
passthru.optional-dependencies = {
|
||||||
ghostwriter = [
|
ghostwriter = [
|
||||||
gql
|
gql
|
||||||
];
|
] ++ gql.optional-dependencies.aiohttp;
|
||||||
translate = [
|
translate = [
|
||||||
deepl
|
deepl
|
||||||
];
|
];
|
||||||
|
@ -78,6 +82,7 @@ buildPythonPackage rec {
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
|
export PATH="$PATH:$out/bin";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
|
@ -89,6 +94,13 @@ buildPythonPackage rec {
|
||||||
"reptor/plugins/importers/GhostWriter/tests/test_ghostwriter.py"
|
"reptor/plugins/importers/GhostWriter/tests/test_ghostwriter.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# Tests need network access
|
||||||
|
"TestDummy"
|
||||||
|
"TestIntegration"
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Module to do automated pentest reporting with SysReptor";
|
description = "Module to do automated pentest reporting with SysReptor";
|
||||||
homepage = "https://github.com/Syslifters/reptor";
|
homepage = "https://github.com/Syslifters/reptor";
|
||||||
|
|
Loading…
Reference in a new issue