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.0.2";
13
14 src = fetchFromGitHub {
15 owner = "unrud";
16 repo = pname;
17 rev = "v${version}";
18 sha256 = "09a252z69msy4wd5kazpca8dcn0a2djdw0vs663062fl977p73qs";
19 };
20
21 buildInputs = [ libX11 libXi libXt libXtst ];
22 tags = [ "portal,x11" ];
23
24 vendorSha256 = "1pgj0m67g759mcs4s34h4pq3mc7gni643z5cp6ffq4rrn8mdi060";
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}