From 1576cb2a916f4a387bbe9962c1f549c30094b32f Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Fri, 28 Nov 2025 00:23:02 +0000 Subject: [PATCH] hovercraft: migrate to pyproject and modernize build inputs Switch packaging to pyproject-based build by setting `pyproject = true`. Add `build-system = [ python3Packages.setuptools ]` and move `nativeCheckInputs` to an explicit list. Normalize maintainer entry to a list and keep dependency declarations consistent. No functional changes to version or source; this is a packaging cleanup. --- pkgs/by-name/ho/hovercraft/package.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/ho/hovercraft/package.nix b/pkgs/by-name/ho/hovercraft/package.nix index 6d25cddf4c03..555c3112a7a5 100644 --- a/pkgs/by-name/ho/hovercraft/package.nix +++ b/pkgs/by-name/ho/hovercraft/package.nix @@ -8,7 +8,7 @@ python3Packages.buildPythonApplication rec { pname = "hovercraft"; version = "2.7"; - format = "setuptools"; + pyproject = true; disabled = !python3Packages.isPy3k; src = fetchFromGitHub { @@ -18,7 +18,9 @@ python3Packages.buildPythonApplication rec { hash = "sha256-X6EaiVahAYAaFB65oqmj695wlJFXNseqz0SQLzGVD0w="; }; - nativeCheckInputs = with python3Packages; [ manuel ]; + build-system = [ python3Packages.setuptools ]; + + nativeCheckInputs = [ python3Packages.manuel ]; dependencies = with python3Packages; [ setuptools @@ -41,6 +43,6 @@ python3Packages.buildPythonApplication rec { mainProgram = "hovercraft"; homepage = "https://github.com/regebro/hovercraft"; license = lib.licenses.mit; - maintainers = with lib.maintainers; [ makefu ]; + maintainers = [ lib.maintainers.makefu ]; }; }