-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathpackage.nix
More file actions
50 lines (43 loc) · 939 Bytes
/
package.nix
File metadata and controls
50 lines (43 loc) · 939 Bytes
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
40
41
42
43
44
45
46
47
48
49
50
{
lib,
stdenv,
rustPlatform,
glib-networking,
pkg-config,
wrapGAppsHook4,
libxkbcommon,
wayland,
glib,
gobject-introspection,
gtk4,
libadwaita,
}:
rustPlatform.buildRustPackage {
pname = "nmrs";
version = "1.1.0-stable";
src = ./.;
cargoHash = "sha256-soQ8YxBf+VWZAyV1xFc0T40S9igkCKSl+8yAXMyFPI0=";
nativeBuildInputs = [
pkg-config
]
++ lib.optionals stdenv.hostPlatform.isLinux [ wrapGAppsHook4 ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [
glib-networking
libxkbcommon
wayland
glib
gobject-introspection
gtk4
libadwaita
];
doCheck = false;
doInstallCheck = true;
meta = with lib; {
description = "Wayland-native frontend for NetworkManager. ";
homepage = "https://github.com/cachebag/nmrs";
license = licenses.mit;
maintainers = [ ];
mainProgram = "nmrs";
platforms = platforms.linux ++ platforms.darwin;
};
}