1 { lib, stdenv, fetchFromGitHub, cmake, python3, opencl-headers }:
3 stdenv.mkDerivation rec {
4 pname = "opencl-clhpp";
7 src = fetchFromGitHub {
8 owner = "KhronosGroup";
11 sha256 = "sha256-A12GdevbMaO2QkGAk3VsXzwcDkF+6dEapse2xfdqzPM=";
14 nativeBuildInputs = [ cmake python3 ];
16 propagatedBuildInputs = [ opencl-headers ];
21 "-DBUILD_EXAMPLES=OFF"
26 description = "OpenCL Host API C++ bindings";
27 homepage = "http://github.khronos.org/OpenCL-CLHPP/";
28 license = licenses.mit;
29 platforms = platforms.unix;