From 5a365c58a17a0ff6a287e6e8db27952dd9ce7ea8 Mon Sep 17 00:00:00 2001 From: Pyrox Date: Fri, 26 Jul 2024 13:29:14 -0400 Subject: [PATCH] python312Packages.pyquaternion: Modernize --- pkgs/development/python-modules/pyquaternion/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyquaternion/default.nix b/pkgs/development/python-modules/pyquaternion/default.nix index b8897c4aac55b..fab1e6c4f8cc6 100644 --- a/pkgs/development/python-modules/pyquaternion/default.nix +++ b/pkgs/development/python-modules/pyquaternion/default.nix @@ -3,13 +3,14 @@ buildPythonPackage, fetchFromGitHub, numpy, + setuptools, pytestCheckHook, }: buildPythonPackage rec { pname = "pyquaternion"; version = "0.9.9"; - format = "setuptools"; + pyproject = true; src = fetchFromGitHub { owner = "KieranWynn"; @@ -24,7 +25,9 @@ buildPythonPackage rec { echo "${version}" > VERSION.txt ''; - propagatedBuildInputs = [ numpy ]; + build-system = [ setuptools ]; + + dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ];