Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
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"
|
|
];
|
|
}
|