diff --git a/pkgs/tools/security/gallia/default.nix b/pkgs/tools/security/gallia/default.nix index 8279227f3d28..be66306c331b 100644 --- a/pkgs/tools/security/gallia/default.nix +++ b/pkgs/tools/security/gallia/default.nix @@ -1,31 +1,29 @@ -{ lib -, fetchFromGitHub -, python3 -, cacert +{ + lib, + fetchFromGitHub, + python3, + cacert, }: python3.pkgs.buildPythonApplication rec { pname = "gallia"; - version = "1.6.0"; + version = "1.7.0"; pyproject = true; src = fetchFromGitHub { owner = "Fraunhofer-AISEC"; repo = "gallia"; rev = "refs/tags/v${version}"; - hash = "sha256-LvzEyBkhji7ruVVO2EpqM8pKOcTX8Dnkqu/GtWOfMZs="; + hash = "sha256-hLGaImYkv6/1Wv1a+0tKmW4qmV4akNoyd0RXopJjetI="; }; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - pythonRelaxDepsHook - ]; + pythonRelaxDeps = [ "httpx" ]; - pythonRelaxDeps = [ - "httpx" - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + nativeBuildInputs = with python3.pkgs; [ pythonRelaxDepsHook ]; + + dependencies = with python3.pkgs; [ aiofiles aiohttp aiosqlite @@ -51,9 +49,7 @@ python3.pkgs.buildPythonApplication rec { pytest-asyncio ]; - pythonImportsCheck = [ - "gallia" - ]; + pythonImportsCheck = [ "gallia" ]; preCheck = '' export PATH=$out/bin:$PATH @@ -64,7 +60,10 @@ python3.pkgs.buildPythonApplication rec { homepage = "https://github.com/Fraunhofer-AISEC/gallia"; changelog = "https://github.com/Fraunhofer-AISEC/gallia/releases/tag/v${version}"; license = with licenses; [ asl20 ]; - maintainers = with maintainers; [ fab rumpelsepp ]; + maintainers = with maintainers; [ + fab + rumpelsepp + ]; platforms = platforms.linux; }; }