From db302ff3cfc7333116baf4167c9a2d8746ccff6e Mon Sep 17 00:00:00 2001 From: 0xthefr34k Date: Wed, 12 Mar 2025 16:44:28 +0000 Subject: [PATCH] exegol: 4.3.9 -> 4.3.10 --- pkgs/by-name/ex/exegol/package.nix | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/pkgs/by-name/ex/exegol/package.nix b/pkgs/by-name/ex/exegol/package.nix index c29355dd4343..66dd61875dc9 100644 --- a/pkgs/by-name/ex/exegol/package.nix +++ b/pkgs/by-name/ex/exegol/package.nix @@ -1,22 +1,27 @@ { fetchPypi, lib, - python3, + python3Packages, xorg, }: -python3.pkgs.buildPythonApplication rec { +python3Packages.buildPythonApplication rec { pname = "exegol"; version = "4.3.10"; pyproject = true; + src = fetchPypi { + inherit pname version; + hash = "sha256-BtOW7EBbFil7yyhL6uayTUUkDldI8+xxolfQZtX+00c="; + }; + + build-system = with python3Packages; [ pdm-backend ]; + pythonRelaxDeps = [ "rich" ]; - nativeBuildInputs = with python3.pkgs; [ pdm-backend ]; - - propagatedBuildInputs = - with python3.pkgs; + dependencies = + with python3Packages; [ pyyaml gitpython @@ -28,13 +33,10 @@ python3.pkgs.buildPythonApplication rec { ] ++ [ xorg.xhost ]; - src = fetchPypi { - inherit pname version; - hash = "sha256-BtOW7EBbFil7yyhL6uayTUUkDldI8+xxolfQZtX+00c="; - }; - doCheck = true; + pythonImportsCheck = [ "exegol" ]; + meta = with lib; { description = "Fully featured and community-driven hacking environment"; longDescription = '' @@ -47,9 +49,9 @@ python3.pkgs.buildPythonApplication rec { ''; homepage = "https://github.com/ThePorgs/Exegol"; changelog = "https://github.com/ThePorgs/Exegol/releases/tag/${version}"; - license = licenses.gpl3Only; + license = lib.licenses.gpl3Only; mainProgram = "exegol"; - maintainers = with maintainers; [ + maintainers = with lib.maintainers; [ _0b11stan charB66 ];