Merge pull request #139969 from trofi/update-ocl-icd
This commit is contained in:
commit
440132a060
1 changed files with 19 additions and 7 deletions
|
@ -1,15 +1,27 @@
|
|||
{lib, stdenv, fetchurl, ruby, opencl-headers, addOpenGLRunpath }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, ruby
|
||||
, opencl-headers
|
||||
, addOpenGLRunpath
|
||||
, autoreconfHook
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocl-icd";
|
||||
version = "2.2.10";
|
||||
version = "2.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://forge.imag.fr/frs/download.php/810/${pname}-${version}.tar.gz";
|
||||
sha256 = "0f14gpa13sdm0kzqv5yycp4pschbmi6n5fj7wl4ilspzsrqcgqr2";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OCL-dev";
|
||||
repo = "ocl-icd";
|
||||
rev = "v${version}";
|
||||
sha256 = "1km2rqc9pw6xxkqp77a22pxfsb5kgw95w9zd15l5jgvyjb6rqqad";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ ruby ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
ruby
|
||||
];
|
||||
|
||||
buildInputs = [ opencl-headers ];
|
||||
|
||||
|
@ -19,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = with lib; {
|
||||
description = "OpenCL ICD Loader for ${opencl-headers.name}";
|
||||
homepage = "https://forge.imag.fr/projects/ocl-icd/";
|
||||
homepage = "https://github.com/OCL-dev/ocl-icd";
|
||||
license = licenses.bsd2;
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue