1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-02 10:31:36 +00:00
nixpkgs/pkgs/development/libraries/opencl-headers/default.nix
2017-01-20 03:37:51 +03:00

25 lines
586 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "opencl-headers-2.1-2016-11-29";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "OpenCL-Headers";
rev = "abb29588550c77f8340a6c3683531407013bf26b";
sha256 = "0zjznq65i4b2h4k36qfbbzq1acf2jdd9vygjv5az1yk7qgsp4jj7";
};
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;
platforms = platforms.unix;
};
}