From 4bd954bba190589c5155ec92f690633014f3560c Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 19 May 2025 19:33:16 +0200 Subject: [PATCH] donpapi: refactor --- pkgs/by-name/do/donpapi/package.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/do/donpapi/package.nix b/pkgs/by-name/do/donpapi/package.nix index 8a90402c0276..b6d201ebfe67 100644 --- a/pkgs/by-name/do/donpapi/package.nix +++ b/pkgs/by-name/do/donpapi/package.nix @@ -22,11 +22,9 @@ python3.pkgs.buildPythonApplication rec { "pyasn1" ]; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ cryptography impacket lnkparse3 @@ -38,14 +36,12 @@ python3.pkgs.buildPythonApplication rec { # Project has no tests doCheck = false; - pythonImportsCheck = [ - "donpapi" - ]; + pythonImportsCheck = [ "donpapi" ]; meta = with lib; { description = "Tool for dumping DPAPI credentials remotely"; homepage = "https://github.com/login-securite/DonPAPI"; - changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${version}"; + changelog = "https://github.com/login-securite/DonPAPI/releases/tag/V${src.tag}"; license = licenses.gpl3Only; maintainers = with maintainers; [ fab ]; mainProgram = "donpapi";