Skip to content

Commit b01da39

Browse files
committed
inspector: init at 0.2.0
1 parent 23f8ab0 commit b01da39

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
lib,
3+
stdenv,
4+
fetchFromGitHub,
5+
meson,
6+
ninja,
7+
gettext,
8+
wrapGAppsHook4,
9+
desktop-file-utils,
10+
gobject-introspection,
11+
libadwaita,
12+
python3Packages,
13+
iproute2,
14+
util-linux,
15+
coreutils,
16+
usbutils,
17+
pciutils,
18+
}:
19+
20+
python3Packages.buildPythonApplication rec {
21+
pname = "inspector";
22+
version = "0.2.0";
23+
format = "other";
24+
25+
src = fetchFromGitHub {
26+
owner = "Nokse22";
27+
repo = "inspector";
28+
rev = "v${version}";
29+
hash = "sha256-tjQCF2Tyv7/NWgrwHu+JPpnLECfDmQS77EVLBt+cRTs=";
30+
};
31+
32+
nativeBuildInputs = [
33+
meson
34+
ninja
35+
gettext
36+
wrapGAppsHook4
37+
desktop-file-utils
38+
gobject-introspection
39+
];
40+
41+
buildInputs = [
42+
libadwaita
43+
];
44+
45+
dependencies = [
46+
python3Packages.pygobject3
47+
iproute2
48+
util-linux
49+
coreutils
50+
usbutils
51+
pciutils
52+
];
53+
54+
strictDeps = true;
55+
56+
meta = {
57+
homepage = "https://github.com/Nokse22/inspector";
58+
description = "Gtk4 Libadwaita wrapper for various system info cli commands";
59+
license = with lib.licenses; [
60+
gpl3Plus
61+
cc0
62+
];
63+
platforms = lib.platforms.linux;
64+
mainProgram = "inspector";
65+
maintainers = with lib.maintainers; [ mksafavi ];
66+
};
67+
}

0 commit comments

Comments
 (0)