From 6930c33c194fd613bd9f3f846d9649c3da0afce6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 25 Feb 2023 11:12:46 +0100 Subject: [PATCH] python310Packages.ripser: move cython to nativeBuildInputs --- pkgs/development/python-modules/ripser/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ripser/default.nix b/pkgs/development/python-modules/ripser/default.nix index b79f98c1df71..9b22d538d554 100644 --- a/pkgs/development/python-modules/ripser/default.nix +++ b/pkgs/development/python-modules/ripser/default.nix @@ -14,11 +14,13 @@ buildPythonPackage rec { pname = "ripser"; version = "0.6.1"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "335112a0f94532ccbe686db7826ee8d0714b32f65891abf92c0a02f3cb0fc5fd"; + hash = "sha256-M1ESoPlFMsy+aG23gm7o0HFLMvZYkav5LAoC88sPxf0="; }; patches = [ @@ -28,8 +30,11 @@ buildPythonPackage rec { }) ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ cython + ]; + + propagatedBuildInputs = [ numpy scipy scikit-learn