26 stdenv.mkDerivation rec{
30 src = fetchFromGitLab {
34 hash = "sha256-E2Dqe1IYXjFb/nShQX+ARZW/AWpNonRimb3yQ6/2CFw=";
66 "-DWITH_PCI_IDS_PATH=${hwdata}/share/hwdata/pci.ids"
67 "-DINSTALL_DBUS_FILES_IN_PREFIX=true"
68 "-DPOLKIT_POLICY_INSTALL_DIR=${placeholder "out"}/share/polkit-1/actions"
71 runtimeDeps = [ hwdata mesa-demos vulkan-tools util-linux procps ];
72 binPath = lib.makeBinPath runtimeDeps;
74 dontWrapQtApps = true;
77 wrapQtApp $out/bin/corectrl --prefix PATH ":" ${binPath}
81 homepage = "https://gitlab.com/corectrl/corectrl/";
82 description = "Control your computer hardware via application profiles";
84 CoreCtrl is a Free and Open Source GNU/Linux application that allows you
85 to control with ease your computer hardware using application profiles. It
86 aims to be flexible, comfortable and accessible to regular users.
88 license = licenses.gpl3Plus;
89 platforms = platforms.linux;
92 # TODO: report upstream that libdrm is not detected at configure time