24 stdenv.mkDerivation rec{
28 src = fetchFromGitLab {
32 sha256 = "sha256-mVMyXpNhwljxsAvrKeHPxUSfdF/mfxG157T13Kb8PnE=";
62 "-DWITH_PCI_IDS_PATH=${hwdata}/share/hwdata/pci.ids"
63 "-DINSTALL_DBUS_FILES_IN_PREFIX=true"
64 "-DPOLKIT_POLICY_INSTALL_DIR=${placeholder "out"}/share/polkit-1/actions"
67 runtimeDeps = [ hwdata glxinfo vulkan-tools util-linux procps ];
68 binPath = lib.makeBinPath runtimeDeps;
70 dontWrapQtApps = true;
73 wrapQtApp $out/bin/corectrl --prefix PATH ":" ${binPath}
77 homepage = "https://gitlab.com/corectrl/corectrl/";
78 description = "Control your computer hardware via application profiles";
80 CoreCtrl is a Free and Open Source GNU/Linux application that allows you
81 to control with ease your computer hardware using application profiles. It
82 aims to be flexible, comfortable and accessible to regular users.
84 license = licenses.gpl3Plus;
85 platforms = platforms.linux;
88 # TODO: report upstream that libdrm is not detected at configure time