2021-04-22 02:32:03 +02:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libX11
|
|
|
|
, libXi
|
|
|
|
, libXt
|
|
|
|
, libXtst
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "remote-touchpad";
|
2022-09-24 21:47:53 +02:00
|
|
|
version = "1.2.2";
|
2021-04-22 02:32:03 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unrud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-09-24 21:47:53 +02:00
|
|
|
sha256 = "sha256-KkrBWrZBvALM0TdF8AlW5Zf+r8EO9I76Otkq4cA+ikg=";
|
2021-04-22 02:32:03 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXi libXt libXtst ];
|
2021-08-05 23:52:33 +02:00
|
|
|
tags = [ "portal,x11" ];
|
2021-04-22 02:32:03 +02:00
|
|
|
|
2022-09-24 21:47:53 +02:00
|
|
|
vendorSha256 = "sha256-lEl0SOqbw6PARgO1qIN20p13BbexfCeJug1ZkuahV+k=";
|
2021-04-22 02:32:03 +02: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;
|
|
|
|
};
|
|
|
|
}
|