16 pname = "coreboot-configurator";
17 version = "unstable-2022-08-22";
19 src = fetchFromGitHub {
20 owner = "StarLabsLtd";
21 repo = "coreboot-configurator";
22 rev = "37c93e7e101a20f85be309904177b9404875cfd8";
23 sha256 = "2pk+uJk1EnVNO2vO1zF9Q6TLpij69iRdr5DFiNcZlM0=";
26 nativeBuildInputs = [ inkscape meson ninja pkg-config wrapQtAppsHook ];
27 buildInputs = [ libyamlcpp qtbase qtsvg ];
30 substituteInPlace src/application/*.cpp \
31 --replace '/usr/bin/pkexec' 'sudo' \
32 --replace '/usr/bin/systemctl' 'systemctl' \
33 --replace '/usr/sbin/nvramtool' '${nvramtool}/bin/nvramtool'
37 description = "A simple GUI to change settings in Coreboot's CBFS";
38 homepage = "https://support.starlabs.systems/kb/guides/coreboot-configurator";
39 license = licenses.gpl2Only;
40 platforms = platforms.linux;
41 maintainers = with maintainers; [ danth ];