depot/third_party/nixpkgs/pkgs/by-name/tu/tuxclocker-plugins/package.nix

39 lines
500 B
Nix
Raw Normal View History

{ 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"
];
}