2021-04-26 19:14:03 +00:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libX11
|
|
|
|
, libXi
|
|
|
|
, libXt
|
|
|
|
, libXtst
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "remote-touchpad";
|
2021-12-19 01:06:50 +00:00
|
|
|
version = "1.0.4";
|
2021-04-26 19:14:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unrud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-12-19 01:06:50 +00:00
|
|
|
sha256 = "sha256-VgTjQXjJn17+BhREew62RTjNo8UWc4Fn9x+924nGD+I=";
|
2021-04-26 19:14:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXi libXt libXtst ];
|
2021-08-06 21:57:35 +00:00
|
|
|
tags = [ "portal,x11" ];
|
2021-04-26 19:14:03 +00:00
|
|
|
|
2021-12-19 01:06:50 +00:00
|
|
|
vendorSha256 = "sha256-Cw4uMnID0nDhSl+ijHMo1VcXLdY1bHFpEkqDQDJOJOw=";
|
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;
|
|
|
|
};
|
|
|
|
}
|