2021-04-22 00:32:03 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libXi
|
2022-12-30 14:15:52 +00:00
|
|
|
, libXrandr
|
2021-04-22 00:32:03 +00:00
|
|
|
, libXt
|
|
|
|
, libXtst
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "remote-touchpad";
|
2024-02-07 09:20:52 +00:00
|
|
|
version = "1.4.6";
|
2021-04-22 00:32:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unrud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2024-02-07 09:20:52 +00:00
|
|
|
sha256 = "sha256-LytZBVubsGajx4hFYwP3MwHkAW7LlIr77aVLpeHwWxU=";
|
2021-04-22 00:32:03 +00:00
|
|
|
};
|
|
|
|
|
2022-12-30 14:15:52 +00:00
|
|
|
buildInputs = [ libXi libXrandr libXt libXtst ];
|
2021-08-05 21:52:33 +00:00
|
|
|
tags = [ "portal,x11" ];
|
2021-04-22 00:32:03 +00:00
|
|
|
|
2024-01-24 10:35:32 +00:00
|
|
|
vendorHash = "sha256-vL6kSm0yPEn5TNpB6E+2+Xjm/ANNUxgA8XEWz9n7kHI=";
|
2021-04-22 00:32:03 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-01-08 05:29:45 +00:00
|
|
|
description = "Control mouse and keyboard from the web browser of a smartphone";
|
2021-04-22 00:32:03 +00:00
|
|
|
homepage = "https://github.com/unrud/remote-touchpad";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
maintainers = with maintainers; [ schnusch ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|