mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 16:23:26 +00:00
Merge pull request #280303 from dotlambda/pyopencl-fix
python311Packages.pyopencl: fix build
This commit is contained in:
commit
3664945209
@ -2,6 +2,7 @@
|
||||
, stdenv
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, appdirs
|
||||
, cffi
|
||||
, decorator
|
||||
@ -34,6 +35,14 @@ in buildPythonPackage rec {
|
||||
hash = "sha256-IgF078qQDp1d5a7yqht3pvJVBQHekrA1qRATrq5NTF4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "fix-conditions-for-CL_UNORM_INT24-availability.patch";
|
||||
url = "https://github.com/inducer/pyopencl/pull/706.patch";
|
||||
hash = "sha256-31aiqYlhbEw3F2k/x3W2rbOX0A90cHwIlfXMivFucMA=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
oldest-supported-numpy
|
||||
setuptools
|
||||
|
Loading…
Reference in New Issue
Block a user