From 13a108c12535eef7964110128c4522524fdfeef3 Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Tue, 22 Aug 2023 12:22:18 -0700 Subject: [PATCH] python3.pkgs.pyopencl: add missing build dependencies --- pkgs/development/python-modules/pyopencl/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index bbeb9e19c3562..db815f0d35987 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -9,6 +9,7 @@ , mesa_drivers , numpy , ocl-icd +, oldest-supported-numpy , opencl-headers , platformdirs , pybind11 @@ -17,6 +18,7 @@ , pytools , setuptools , six +, wheel }: let @@ -25,7 +27,6 @@ let in buildPythonPackage rec { pname = "pyopencl"; version = "2023.1.2"; - format = "pyproject"; src = fetchPypi { @@ -33,7 +34,11 @@ in buildPythonPackage rec { hash = "sha256-6wDNV0BJ1ZK2edz4v+erSjbJSjn9Gssaa0XWwNe+mmg="; }; - nativeBuildInputs = [ setuptools ]; + nativeBuildInputs = [ + oldest-supported-numpy + setuptools + wheel + ]; buildInputs = [ opencl-headers pybind11 ] ++ os-specific-buildInputs;