python3.pkgs.pyopencl: add missing build dependencies

This commit is contained in:
Theodore Ni 2023-08-22 12:22:18 -07:00
parent 27cca3c361
commit 13a108c125
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -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;