From 0172dbc5c52b9edebb5f0cf362d76f54ed084273 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 24 Mar 2026 03:34:19 +0100 Subject: [PATCH] python3Packages.duct-py: fix build --- pkgs/development/python-modules/duct-py/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/duct-py/default.nix b/pkgs/development/python-modules/duct-py/default.nix index 27da99cb6319..3bb63cd26ae9 100644 --- a/pkgs/development/python-modules/duct-py/default.nix +++ b/pkgs/development/python-modules/duct-py/default.nix @@ -2,13 +2,15 @@ lib, buildPythonPackage, fetchFromGitHub, + hatchling, pytestCheckHook, + ps, }: buildPythonPackage rec { pname = "duct-py"; version = "1.0.1"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "oconnor663"; @@ -17,9 +19,14 @@ buildPythonPackage rec { hash = "sha256-i811nQB8CVJPYPR0Jdzpk64EXxrTMDIBpdDoUs9Xu/k="; }; + build-system = [ hatchling ]; + pythonImportsCheck = [ "duct" ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + ps + ]; disabledTests = [ # This test completely empties the environment then tries to run a Python command.