···67# Version of Pulumi from
8# https://www.pulumi.com/docs/get-started/install/versions/
9-VERSION="3.16.0"
1011# A hashmap containing a plugin's name and it's respective repository inside
12# Pulumi's Github organization
···67# Version of Pulumi from
8# https://www.pulumi.com/docs/get-started/install/versions/
9+VERSION="3.17.0"
1011# A hashmap containing a plugin's name and it's respective repository inside
12# Pulumi's Github organization
+8-8
pkgs/tools/system/clinfo/default.nix
···1-{ lib, stdenv, fetchFromGitHub, ocl-icd, opencl-headers }:
23stdenv.mkDerivation rec {
4 pname = "clinfo";
···11 sha256 = "sha256-0ijfbfv1F6mnt1uFH/A4yOADJoAFrPMa3yAOFJW53ek=";
12 };
1314- buildInputs = [ ocl-icd opencl-headers ];
15-16- NIX_CFLAGS_COMPILE = [
17- "-Wno-error=stringop-overflow"
18- "-Wno-error=stringop-truncation"
19 ];
2021 makeFlags = [ "PREFIX=${placeholder "out"}" ];
···24 description = "Print all known information about all available OpenCL platforms and devices in the system";
25 homepage = "https://github.com/Oblomov/clinfo";
26 license = licenses.cc0;
27- maintainers = with maintainers; [ athas ];
28- platforms = platforms.linux;
29 };
30}
···1+{ lib, stdenv, fetchFromGitHub, ocl-icd, opencl-headers, OpenCL }:
23stdenv.mkDerivation rec {
4 pname = "clinfo";
···11 sha256 = "sha256-0ijfbfv1F6mnt1uFH/A4yOADJoAFrPMa3yAOFJW53ek=";
12 };
1314+ buildInputs = lib.optionals (!stdenv.isDarwin) [
15+ ocl-icd
16+ opencl-headers
17+ ] ++ lib.optionals stdenv.isDarwin [
18+ OpenCL
19 ];
2021 makeFlags = [ "PREFIX=${placeholder "out"}" ];
···24 description = "Print all known information about all available OpenCL platforms and devices in the system";
25 homepage = "https://github.com/Oblomov/clinfo";
26 license = licenses.cc0;
27+ maintainers = with maintainers; [ athas r-burns ];
28+ platforms = platforms.unix;
29 };
30}