1{ buildGoModule
2, fetchFromGitHub
3, lib
4, libX11
5, libXi
6, libXt
7, libXtst
8}:
9
10buildGoModule rec {
11 pname = "remote-touchpad";
12 version = "1.2.2";
13
14 src = fetchFromGitHub {
15 owner = "unrud";
16 repo = pname;
17 rev = "v${version}";
18 sha256 = "sha256-KkrBWrZBvALM0TdF8AlW5Zf+r8EO9I76Otkq4cA+ikg=";
19 };
20
21 buildInputs = [ libX11 libXi libXt libXtst ];
22 tags = [ "portal,x11" ];
23
24 vendorSha256 = "sha256-lEl0SOqbw6PARgO1qIN20p13BbexfCeJug1ZkuahV+k=";
25
26 meta = with lib; {
27 description = "Control mouse and keyboard from the webbrowser of a smartphone.";
28 homepage = "https://github.com/unrud/remote-touchpad";
29 license = licenses.gpl3Plus;
30 maintainers = with maintainers; [ schnusch ];
31 platforms = platforms.linux;
32 };
33}