5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
38 lines
500 B
Nix
38 lines
500 B
Nix
{ stdenv
|
|
, boost
|
|
, gettext
|
|
, libdrm
|
|
, meson
|
|
, ninja
|
|
, openssl
|
|
, pkg-config
|
|
, python3
|
|
, tuxclocker
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
inherit (tuxclocker) src version meta;
|
|
|
|
pname = "tuxclocker-plugins";
|
|
|
|
nativeBuildInputs = [
|
|
gettext
|
|
meson
|
|
ninja
|
|
pkg-config
|
|
(python3.withPackages(p: [ p.hwdata ]))
|
|
];
|
|
|
|
buildInputs = [
|
|
boost
|
|
libdrm
|
|
openssl
|
|
];
|
|
|
|
mesonFlags = [
|
|
"-Ddaemon=false"
|
|
"-Dgui=false"
|
|
"-Drequire-amd=true"
|
|
"-Drequire-python-hwdata=true"
|
|
];
|
|
}
|