-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathderivation.nix
39 lines (33 loc) · 934 Bytes
/
derivation.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{ lib, gtk4, glib, gobject-introspection, efibootmgr, python3, util-linux
, wrapGAppsHook, desktop-file-utils, hicolor-icon-theme }:
let
python_deps = with python3.pkgs; [
pygobject3
];
in
python3.pkgs.buildPythonApplication rec {
name = "efiboots";
src = ./.;
nativeBuildInputs = [
wrapGAppsHook
desktop-file-utils # needed for update-desktop-database
glib # needed for glib-compile-schemas
gobject-introspection # need for gtk namespace to be available
hicolor-icon-theme # needed for postinstall script
efibootmgr
util-linux
];
buildInputs = [
gtk4
glib
];
propagatedBuildInputs = python_deps;
doCheck = true;
checkInputs = buildInputs;
meta = with lib; {
description = " Manage EFI boot loader entries with this simple GUI";
homepage = "https://github.com/Elinvention/efibootmgr-gui";
license = licenses.gpl3;
platforms = platforms.linux;
};
}