12 , oldest-supported-numpy
25 os-specific-buildInputs =
26 if stdenv.isDarwin then [ mesa_drivers.dev ] else [ ocl-icd ];
27 in buildPythonPackage rec {
33 inherit pname version;
34 hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4=";
38 oldest-supported-numpy
43 buildInputs = [ opencl-headers pybind11 ] ++ os-specific-buildInputs;
45 propagatedBuildInputs = [
56 nativeCheckInputs = [ pytestCheckHook ];
59 export HOME=$(mktemp -d)
62 # gcc: error: pygpu_language_opencl.cpp: No such file or directory
65 pythonImportsCheck = [ "pyopencl" ];
68 description = "Python wrapper for OpenCL";
69 homepage = "https://github.com/pyopencl/pyopencl";
70 license = licenses.mit;
71 maintainers = [ maintainers.fridh ];