1 { lib, stdenv, fetchFromGitHub
4 stdenv.mkDerivation rec {
5 name = "opencl-headers-${version}";
6 version = "2020.06.16";
8 src = fetchFromGitHub {
9 owner = "KhronosGroup";
10 repo = "OpenCL-Headers";
12 sha256 = "0viiwhfqccw90r3mr45ab3wyhabpdrihplj5842brn5ny0ayh73z";
16 mkdir -p $out/include/CL
17 cp CL/* $out/include/CL
21 description = "Khronos OpenCL headers version ${version}";
22 homepage = "https://www.khronos.org/registry/cl/";
23 license = licenses.asl20;
24 platforms = platforms.unix;