mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 14:19:58 +03:00
python3.pkgs.pyopencl: add missing build dependencies
This commit is contained in:
parent
27cca3c361
commit
13a108c125
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user