504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
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"
|
|
];
|
|
}
|