From dd0f3cd3c822357d29418e7af7196b3539457a5a Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Tue, 13 Jan 2026 01:08:10 +0100 Subject: [PATCH] python313Packages.aafigure: modernize --- .../python-modules/aafigure/default.nix | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/aafigure/default.nix b/pkgs/development/python-modules/aafigure/default.nix index 69059deefd04..5a371d091085 100644 --- a/pkgs/development/python-modules/aafigure/default.nix +++ b/pkgs/development/python-modules/aafigure/default.nix @@ -2,19 +2,23 @@ lib, buildPythonPackage, fetchPypi, + setuptools, pillow, + pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "aafigure"; version = "0.6"; - format = "setuptools"; + pyproject = true; src = fetchPypi { - inherit pname version; - sha256 = "49f2c1fd2b579c1fffbac1386a2670b3f6f475cc7ff6cc04d8b984888c2d9e1e"; + inherit (finalAttrs) pname version; + hash = "sha256-SfLB/StXnB//usE4aiZws/b0dcx/9swE2LmEiIwtnh4="; }; + build-system = [ setuptools ]; + propagatedBuildInputs = [ pillow ]; # error: invalid command 'test' @@ -35,4 +39,4 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ bjornfor ]; platforms = lib.platforms.unix; }; -} +})