From b3ef821c72c1a6caecbf5b12e269f3797e7e5f0c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Jan 2024 10:46:49 +0100 Subject: [PATCH] keepwn: refactor --- pkgs/tools/security/keepwn/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/security/keepwn/default.nix b/pkgs/tools/security/keepwn/default.nix index 8ce5ea4c5235..bb856c80710b 100644 --- a/pkgs/tools/security/keepwn/default.nix +++ b/pkgs/tools/security/keepwn/default.nix @@ -7,7 +7,7 @@ python3.pkgs.buildPythonApplication rec { pname = "keepwn"; version = "0.3"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "Orange-Cyberdefense"; @@ -16,10 +16,17 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-haKWuoTtyC9vIise+gznruHEwMIDz1W6euihLLKnSdc="; }; + nativeBuildInputs = with python3.pkgs; [ + setuptools + ]; + propagatedBuildInputs = with python3.pkgs; [ chardet impacket lxml + pefile + pykeepass + python-magic termcolor ];