2024-07-27 06:49:29 +00:00
|
|
|
{ stdenv
|
2024-01-02 11:29:13 +00:00
|
|
|
, boost
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, linuxPackages
|
|
|
|
, openssl
|
|
|
|
, tuxclocker-plugins
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "tuxclocker-nvidia-plugin";
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
inherit (tuxclocker-plugins) src version meta nativeBuildInputs;
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
linuxPackages.nvidia_x11
|
|
|
|
linuxPackages.nvidia_x11.settings.libXNVCtrl
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Ddaemon=false"
|
|
|
|
"-Dgui=false"
|
|
|
|
"-Drequire-nvidia=true"
|
2024-02-29 20:09:43 +00:00
|
|
|
"-Dplugins-cpu=false" # provided by tuxclocker-plugins
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
|
|
|
}
|