2023-12-14 09:19:27 +01:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, boost
|
|
|
|
, libX11
|
|
|
|
, libXext
|
|
|
|
, linuxPackages
|
|
|
|
, openssl
|
|
|
|
, tuxclocker-plugins
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "tuxclocker-nvidia-plugin";
|
|
|
|
|
|
|
|
inherit (tuxclocker-plugins) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR nativeBuildInputs;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
libX11
|
|
|
|
libXext
|
|
|
|
linuxPackages.nvidia_x11
|
|
|
|
linuxPackages.nvidia_x11.settings.libXNVCtrl
|
|
|
|
openssl
|
|
|
|
];
|
|
|
|
|
|
|
|
mesonFlags = [
|
|
|
|
"-Ddaemon=false"
|
|
|
|
"-Dgui=false"
|
|
|
|
"-Drequire-nvidia=true"
|
2024-01-28 15:28:36 +01:00
|
|
|
"-Dplugins-cpu=false" # provided by tuxclocker-plugins
|
2023-12-14 09:19:27 +01:00
|
|
|
];
|
|
|
|
}
|