-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathregolith-inputd.nix
More file actions
42 lines (35 loc) · 913 Bytes
/
regolith-inputd.nix
File metadata and controls
42 lines (35 loc) · 913 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
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, glib
,
}:
rustPlatform.buildRustPackage rec {
pname = "regolith-inputd";
version = "0.2.3";
src = fetchFromGitHub {
owner = "regolith-linux";
repo = "regolith-inputd";
rev = "v${version}";
hash = "sha256-PX9lWeAfJ79zEhXEKFTryf780JcoY7k6XRSxzHM1WWw=";
};
cargoHash = "sha256-B/lAyjU1vMZKgg+fRvOm0QfVEKyaZHMexvxraI5f17I=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
glib
];
# postInstall = ''
# mkdir -p $out/lib/systemd/user/
# install -Dm644 $src/data/regolith-init-inputd.service $out/lib/systemd/user/
# '';
meta = {
description = "Input management daemon for regolith wayland session";
homepage = "https://github.com/regolith-linux/regolith-inputd";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ ];
mainProgram = "regolith-inputd";
};
}