nixpkgs/pkgs/by-name/tu/tuxclocker-plugins/package.nix
2024-01-31 15:40:32 +02:00

40 lines
548 B
Nix

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