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
30
pkgs/tools/system/clinfo/default.nix
Normal file
30
pkgs/tools/system/clinfo/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, fetchFromGitHub, ocl-icd, opencl-headers, OpenCL }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clinfo";
|
||||
version = "3.0.21.02.21";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Oblomov";
|
||||
repo = "clinfo";
|
||||
rev = version;
|
||||
sha256 = "sha256-0ijfbfv1F6mnt1uFH/A4yOADJoAFrPMa3yAOFJW53ek=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optionals (!stdenv.isDarwin) [
|
||||
ocl-icd
|
||||
opencl-headers
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
OpenCL
|
||||
];
|
||||
|
||||
makeFlags = [ "PREFIX=${placeholder "out"}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Print all known information about all available OpenCL platforms and devices in the system";
|
||||
homepage = "https://github.com/Oblomov/clinfo";
|
||||
license = licenses.cc0;
|
||||
maintainers = with maintainers; [ athas r-burns ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue