1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/development/libraries/opencl-headers/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

25 lines
582 B
Nix

{ 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;
platforms = platforms.unix;
};
}