nixpkgs-suyu/pkgs/by-name/tu/tuxclocker-plugins/package.nix
2023-12-14 21:56:39 +02:00

42 lines
562 B
Nix

{ lib
, stdenv
, boost
, cmake
, gettext
, git
, libdrm
, meson
, ninja
, openssl
, pkg-config
, python3
, tuxclocker
}:
stdenv.mkDerivation {
inherit (tuxclocker) src version meta BOOST_INCLUDEDIR BOOST_LIBRARYDIR;
pname = "tuxclocker-plugins";
nativeBuildInputs = [
gettext
git
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"
];
}