2024-07-27 06:49:29 +00:00
|
|
|
{ stdenv
|
2024-01-02 11:29:13 +00:00
|
|
|
, boost
|
|
|
|
, gettext
|
|
|
|
, libdrm
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, openssl
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
, tuxclocker
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2024-07-31 10:19:44 +00:00
|
|
|
inherit (tuxclocker) src version meta;
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|