From 8d31f5e0fe893ffc33570626f36956293757bb37 Mon Sep 17 00:00:00 2001 From: natsukium Date: Sun, 29 Sep 2024 11:53:07 +0900 Subject: [PATCH] python312Packages.psd-tools: refactor inputs --- pkgs/development/python-modules/psd-tools/default.nix | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/psd-tools/default.nix b/pkgs/development/python-modules/psd-tools/default.nix index f59c1a5c329b..9a5c0cf60fdc 100644 --- a/pkgs/development/python-modules/psd-tools/default.nix +++ b/pkgs/development/python-modules/psd-tools/default.nix @@ -12,7 +12,7 @@ numpy, aggdraw, pytestCheckHook, - pytest-cov, + pytest-cov-stub, ipython, cython, }: @@ -31,10 +31,6 @@ buildPythonPackage rec { hash = "sha256-H3Szd8/NjXCkWyG/q+6O5L0Iq5u/g4UNdEmhDqQsAY8="; }; - postPatch = '' - sed -i "/addopts =/d" pyproject.toml - ''; - build-system = [ setuptools cython @@ -44,7 +40,6 @@ buildPythonPackage rec { aggdraw attrs docopt - ipython numpy pillow scikit-image @@ -53,7 +48,8 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-cov + pytest-cov-stub + ipython ]; pythonImportsCheck = [ "psd_tools" ];