From d45251f0333f38262c65e03de85b7ae6e5e30a0b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 11 Jul 2025 13:29:50 +0200 Subject: [PATCH] pre2k: refactor --- pkgs/by-name/pr/pre2k/package.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/by-name/pr/pre2k/package.nix b/pkgs/by-name/pr/pre2k/package.nix index 1f8a008220ae..da83ea80b9f6 100644 --- a/pkgs/by-name/pr/pre2k/package.nix +++ b/pkgs/by-name/pr/pre2k/package.nix @@ -23,11 +23,9 @@ python3.pkgs.buildPythonApplication rec { "typer" ]; - nativeBuildInputs = with python3.pkgs; [ - poetry-core - ]; + build-system = with python3.pkgs; [ poetry-core ]; - propagatedBuildInputs = with python3.pkgs; [ + dependencies = with python3.pkgs; [ impacket ldap3 pyasn1 @@ -35,14 +33,12 @@ python3.pkgs.buildPythonApplication rec { typer ]; - pythonImportsCheck = [ - "pre2k" - ]; + pythonImportsCheck = [ "pre2k" ]; meta = { description = "Tool to query for the existence of pre-windows 2000 computer objects"; homepage = "https://github.com/garrettfoster13/pre2k"; - changelog = "https://github.com/garrettfoster13/pre2k/releases/tag/${version}"; + changelog = "https://github.com/garrettfoster13/pre2k/releases/tag/${src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "pre2k";