1{
2 lib,
3 bundlerApp,
4 bundlerUpdateScript,
5 makeWrapper,
6 gnugrep,
7 libinput,
8}:
9
10bundlerApp {
11 pname = "fusuma";
12 gemdir = ./.;
13 exes = [ "fusuma" ];
14
15 nativeBuildInputs = [ makeWrapper ];
16
17 postBuild = ''
18 wrapProgram "$out/bin/fusuma" \
19 --prefix PATH : ${
20 lib.makeBinPath [
21 gnugrep
22 libinput
23 ]
24 }
25 '';
26
27 passthru.updateScript = bundlerUpdateScript "fusuma";
28
29 meta = with lib; {
30 description = "Multitouch gestures with libinput driver on X11, Linux";
31 homepage = "https://github.com/iberianpig/fusuma";
32 license = licenses.mit;
33 maintainers = with maintainers; [
34 nicknovitski
35 Br1ght0ne
36 ];
37 platforms = platforms.linux;
38 };
39}