2021-04-26 19:14:03 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libXi
|
2023-01-11 07:51:40 +00:00
|
|
|
, libXrandr
|
2021-04-26 19:14:03 +00:00
|
|
|
, libXt
|
|
|
|
, libXtst
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "remote-touchpad";
|
2023-10-19 13:55:26 +00:00
|
|
|
version = "1.4.3";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unrud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-10-19 13:55:26 +00:00
|
|
|
sha256 = "sha256-EfZ8h65jFVdy/U7I2YDoIMHgnnYpUcrOYUAMCPOmK6U=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
buildInputs = [ libXi libXrandr libXt libXtst ];
|
2021-08-06 21:57:35 +00:00
|
|
|
tags = [ "portal,x11" ];
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
vendorHash = "sha256-UX366UWROeorwYV4l1A3R03J10Gm7EajM+wEczIJEJM=";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Control mouse and keyboard from the webbrowser of a smartphone.";
|
|
|
|
homepage = "https://github.com/unrud/remote-touchpad";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ schnusch ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|