2017-01-20 01:23:04 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2016-03-29 12:23:12 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-01-20 01:31:16 +01:00
|
|
|
name = "opencl-headers-2.1-2016-11-29";
|
2016-03-29 12:23:12 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "KhronosGroup";
|
|
|
|
repo = "OpenCL-Headers";
|
2017-01-20 01:31:16 +01:00
|
|
|
rev = "abb29588550c77f8340a6c3683531407013bf26b";
|
|
|
|
sha256 = "0zjznq65i4b2h4k36qfbbzq1acf2jdd9vygjv5az1yk7qgsp4jj7";
|
2016-03-29 12:23:12 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/include/CL
|
|
|
|
cp * $out/include/CL
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Khronos OpenCL headers";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = https://www.khronos.org/registry/cl/;
|
2016-03-29 12:23:12 +02:00
|
|
|
license = licenses.mit;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.unix;
|
2016-03-29 12:23:12 +02:00
|
|
|
};
|
|
|
|
}
|