Merge pull request #250110 from tjni/faraday-agent-dispatcher
faraday-agent-dispatcher: 2.4.0 -> 2.6.2
This commit is contained in:
commit
54563b9061
2 changed files with 11 additions and 15 deletions
|
@ -1,5 +1,4 @@
|
|||
{ lib
|
||||
, appdirs
|
||||
, buildPythonPackage
|
||||
, defusedxml
|
||||
, fetchFromGitHub
|
||||
|
@ -33,26 +32,22 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
semver
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
appdirs
|
||||
defusedxml
|
||||
marshmallow
|
||||
python-box
|
||||
python-dateutil
|
||||
requests
|
||||
requests-pkcs12
|
||||
restfly
|
||||
semver
|
||||
typing-extensions
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
responses
|
||||
pytest-datafiles
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
requests-pkcs12
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
|
|
|
@ -5,16 +5,21 @@
|
|||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "faraday-agent-dispatcher";
|
||||
version = "2.4.0";
|
||||
version = "2.6.2";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "infobyte";
|
||||
repo = "faraday_agent_dispatcher";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-gZXA+2zW25Dl8JmBgg7APZt6ZdpFOEFZXAkiZ+tn/4g=";
|
||||
hash = "sha256-+lsejepg/iBHo6CRAGNHjiUC7ZgboHbKu7EDmlN3lVk=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"pytest-runner",' ""
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
setuptools-scm
|
||||
];
|
||||
|
@ -26,6 +31,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
faraday-plugins
|
||||
itsdangerous
|
||||
psutil
|
||||
pytenable
|
||||
python-gvm
|
||||
python-owasp-zap-v2-4
|
||||
pyyaml
|
||||
|
@ -39,11 +45,6 @@ python3.pkgs.buildPythonApplication rec {
|
|||
pytestCheckHook
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace '"pytest-runner",' ""
|
||||
'';
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d);
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue