blob: d4c21da7df4d90b7e1543caa14c7dc04cf5759d7 (
plain)
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
|
{
rustPlatform,
protobuf,
pkg-config,
seatd,
libxkbcommon,
libinput,
lua5_4,
libdisplay-info_0_3,
libgbm,
pinnacle-src,
}:
args:
rustPlatform.buildRustPackage (
(removeAttrs args [
"nativeBuildInputs"
"buildInputs"
])
// {
PINNACLE_PROTOBUF_API_DEFS = "${pinnacle-src}/api/protobuf";
PINNACLE_PROTOBUF_SNOWCAP_API_DEFS = "${pinnacle-src}/snowcap/api/protobuf";
nativeBuildInputs = (args.nativeBuildInputs or [ ]) ++ [
protobuf
pkg-config
];
buildInputs = (args.buildInputs or [ ]) ++ [
seatd.dev
libxkbcommon
libinput
lua5_4
libdisplay-info_0_3
libgbm
];
}
)
|