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 2 , stdenv 3 3 , fetchPypi 4 4 , buildPythonPackage 5 + , fetchpatch 5 6 , appdirs 6 7 , cffi 7 8 , decorator ··· 33 34 inherit pname version; 34 35 hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4="; 35 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 + ]; 36 45 37 46 nativeBuildInputs = [ 38 47 oldest-supported-numpy