42 lines
562 B
Nix
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"
|
|
];
|
|
}
|