uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
39
pkgs/development/libraries/ocl-icd/default.nix
Normal file
39
pkgs/development/libraries/ocl-icd/default.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{ 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 ];
|
||||
|
||||
configureFlags = [
|
||||
"--enable-custom-vendordir=/run/opengl-driver/etc/OpenCL/vendors"
|
||||
];
|
||||
|
||||
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;
|
||||
maintainers = with maintainers; [ r-burns ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue