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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
548 B
Nix
Raw Normal View History

2023-12-14 09:19:27 +01:00
{ 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"
];
}