nixpkgs-suyu/pkgs/development/libraries/ocl-icd/default.nix
Elliot b862bde8b0
ocl-icd: update platforms, remove outdated postPatch (#137342)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-06 09:30:32 +02:00

34 lines
647 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, ruby
, opencl-headers
, addOpenGLRunpath
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "ocl-icd";
version = "2.3.1";
src = fetchFromGitHub {
owner = "OCL-dev";
repo = "ocl-icd";
rev = "v${version}";
sha256 = "1km2rqc9pw6xxkqp77a22pxfsb5kgw95w9zd15l5jgvyjb6rqqad";
};
nativeBuildInputs = [
autoreconfHook
ruby
];
buildInputs = [ opencl-headers ];
meta = with lib; {
description = "OpenCL ICD Loader for ${opencl-headers.name}";
homepage = "https://github.com/OCL-dev/ocl-icd";
license = licenses.bsd2;
platforms = platforms.unix;
};
}