clinfo: init at 2.2.18.04.06

This commit is contained in:
Troels Henriksen 2019-06-08 23:45:42 +02:00 committed by Lassulus
parent 9bd6c5d817
commit 0b8efd8724
3 changed files with 32 additions and 0 deletions

View File

@ -507,6 +507,11 @@
github = "aszlig";
name = "aszlig";
};
athas = {
email = "athas@sigkill.dk";
github = "athas";
name = "Troels Henriksen";
};
atnnn = {
email = "etienne@atnnn.com";
github = "atnnn";

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, ocl-icd, opencl-headers }:
stdenv.mkDerivation rec {
pname = "clinfo";
version = "2.2.18.04.06";
src = fetchFromGitHub {
owner = "Oblomov";
repo = "clinfo";
rev = "${version}";
sha256 = "0y2q0lz5yzxy970b7w7340vp4fl25vndahsyvvrywcrn51ipgplx";
};
buildInputs = [ ocl-icd opencl-headers ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
meta = with stdenv.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;
platforms = platforms.linux;
maintainers = with maintainers; [ athas ];
};
}

View File

@ -23107,6 +23107,8 @@ in
click = callPackage ../applications/networking/cluster/click { };
clinfo = callPackage ../tools/system/clinfo { };
cups = callPackage ../misc/cups {
libusb = libusb1;
};