nixpkgs/pkgs/by-name/tu/tuxclocker-nvidia-plugin/package.nix
Martin Weinelt 93f4195fe0
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
- pkgs/applications/graphics/seamly2d/default.nix
2024-07-26 18:05:04 +02:00

31 lines
513 B
Nix

{ stdenv
, boost
, libX11
, libXext
, linuxPackages
, openssl
, tuxclocker-plugins
}:
stdenv.mkDerivation {
pname = "tuxclocker-nvidia-plugin";
inherit (tuxclocker-plugins) src version meta nativeBuildInputs;
buildInputs = [
boost
libX11
libXext
linuxPackages.nvidia_x11
linuxPackages.nvidia_x11.settings.libXNVCtrl
openssl
];
mesonFlags = [
"-Ddaemon=false"
"-Dgui=false"
"-Drequire-nvidia=true"
"-Dplugins-cpu=false" # provided by tuxclocker-plugins
];
}