tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
coreboot-configurator: init at 2022-08-22
Daniel Thwaites
3 years ago
ea6b6a46
52392d42
+45
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
coreboot-configurator
default.nix
top-level
all-packages.nix
+43
pkgs/tools/misc/coreboot-configurator/default.nix
reviewed
···
1
1
+
{ lib
2
2
+
, stdenv
3
3
+
, fetchFromGitHub
4
4
+
, inkscape
5
5
+
, meson
6
6
+
, ninja
7
7
+
, pkg-config
8
8
+
, libyamlcpp
9
9
+
, nvramtool
10
10
+
, qtbase
11
11
+
, qtsvg
12
12
+
, wrapQtAppsHook
13
13
+
}:
14
14
+
15
15
+
stdenv.mkDerivation {
16
16
+
pname = "coreboot-configurator";
17
17
+
version = "unstable-2022-08-22";
18
18
+
19
19
+
src = fetchFromGitHub {
20
20
+
owner = "StarLabsLtd";
21
21
+
repo = "coreboot-configurator";
22
22
+
rev = "37c93e7e101a20f85be309904177b9404875cfd8";
23
23
+
sha256 = "2pk+uJk1EnVNO2vO1zF9Q6TLpij69iRdr5DFiNcZlM0=";
24
24
+
};
25
25
+
26
26
+
nativeBuildInputs = [ inkscape meson ninja pkg-config wrapQtAppsHook ];
27
27
+
buildInputs = [ libyamlcpp qtbase qtsvg ];
28
28
+
29
29
+
postPatch = ''
30
30
+
substituteInPlace src/application/*.cpp \
31
31
+
--replace '/usr/bin/pkexec' 'sudo' \
32
32
+
--replace '/usr/bin/systemctl' 'systemctl' \
33
33
+
--replace '/usr/sbin/nvramtool' '${nvramtool}/bin/nvramtool'
34
34
+
'';
35
35
+
36
36
+
meta = with lib; {
37
37
+
description = "A simple GUI to change settings in Coreboot's CBFS";
38
38
+
homepage = "https://support.starlabs.systems/kb/guides/coreboot-configurator";
39
39
+
license = licenses.gpl2Only;
40
40
+
platforms = platforms.linux;
41
41
+
maintainers = with maintainers; [ danth ];
42
42
+
};
43
43
+
}
+2
pkgs/top-level/all-packages.nix
reviewed
···
3406
3406
acpidump-all
3407
3407
coreboot-utils;
3408
3408
3409
3409
+
coreboot-configurator = libsForQt5.callPackage ../tools/misc/coreboot-configurator { };
3410
3410
+
3409
3411
corosync = callPackage ../servers/corosync { };
3410
3412
3411
3413
cowsay = callPackage ../tools/misc/cowsay { };