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