mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
93f4195fe0
Conflicts: - pkgs/applications/graphics/seamly2d/default.nix
30 lines
513 B
Nix
30 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
|
|
];
|
|
}
|