10 stdenv.mkDerivation rec {
12 version = "3.0.23.01.25";
14 src = fetchFromGitHub {
18 sha256 = "sha256-1jZP4SnLIHh3vQJLBp+j/eQ1c8XBGFR2hjYxflhpWAU=";
22 lib.optionals (!stdenv.hostPlatform.isDarwin) [
26 ++ lib.optionals stdenv.hostPlatform.isDarwin [
30 makeFlags = [ "PREFIX=${placeholder "out"}" ];
33 description = "Print all known information about all available OpenCL platforms and devices in the system";
34 homepage = "https://github.com/Oblomov/clinfo";
35 license = licenses.cc0;
36 maintainers = with maintainers; [
40 platforms = platforms.unix;
41 mainProgram = "clinfo";