faraday-agent-dispatcher: refactor

This commit is contained in:
Fabian Affolter 2024-05-27 15:38:51 +02:00 committed by GitHub
parent 2ced1d73b2
commit 0e9bdadaa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,19 +17,22 @@ python3.pkgs.buildPythonApplication rec {
postPatch = ''
substituteInPlace setup.py \
--replace '"pytest-runner",' ""
--replace-fail '"pytest-runner",' ""
'';
pythonRelaxDeps = [
"python-socketio"
];
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
build-system = with python3.pkgs; [
setuptools-scm
];
propagatedBuildInputs = with python3.pkgs; [
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
dependencies = with python3.pkgs; [
aiohttp
click
faraday-agent-parameters-types
@ -71,10 +74,10 @@ python3.pkgs.buildPythonApplication rec {
meta = with lib; {
description = "Tool to send result from tools to the Faraday Platform";
mainProgram = "faraday-dispatcher";
homepage = "https://github.com/infobyte/faraday_agent_dispatcher";
changelog = "https://github.com/infobyte/faraday_agent_dispatcher/releases/tag/${version}";
license = with licenses; [ gpl3Only ];
license = licenses.gpl3Only;
maintainers = with maintainers; [ fab ];
mainProgram = "faraday-dispatcher";
};
}