Merge pull request #280303 from dotlambda/pyopencl-fix

python311Packages.pyopencl: fix build

authored by Robert Schütz and committed by GitHub 36649452 95b0bf94

+9
+9
pkgs/development/python-modules/pyopencl/default.nix
··· 2 , stdenv 3 , fetchPypi 4 , buildPythonPackage 5 , appdirs 6 , cffi 7 , decorator ··· 33 inherit pname version; 34 hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4="; 35 }; 36 37 nativeBuildInputs = [ 38 oldest-supported-numpy
··· 2 , stdenv 3 , fetchPypi 4 , buildPythonPackage 5 + , fetchpatch 6 , appdirs 7 , cffi 8 , decorator ··· 34 inherit pname version; 35 hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4="; 36 }; 37 + 38 + patches = [ 39 + (fetchpatch { 40 + name = "fix-conditions-for-CL_UNORM_INT24-availability.patch"; 41 + url = "https://github.com/inducer/pyopencl/pull/706.patch"; 42 + hash = "sha256-31aiqYlhbEw3F2k/x3W2rbOX0A90cHwIlfXMivFucMA="; 43 + }) 44 + ]; 45 46 nativeBuildInputs = [ 47 oldest-supported-numpy