2021-04-22 01:32:03 +01:00
|
|
|
{ buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
|
|
|
, libX11
|
|
|
|
, libXi
|
|
|
|
, libXt
|
|
|
|
, libXtst
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "remote-touchpad";
|
2021-06-06 00:58:54 +01:00
|
|
|
version = "1.0.2";
|
2021-04-22 01:32:03 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unrud";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-06-06 00:58:54 +01:00
|
|
|
sha256 = "09a252z69msy4wd5kazpca8dcn0a2djdw0vs663062fl977p73qs";
|
2021-04-22 01:32:03 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXi libXt libXtst ];
|
2021-08-05 22:52:33 +01:00
|
|
|
tags = [ "portal,x11" ];
|
2021-04-22 01:32:03 +01:00
|
|
|
|
2021-06-06 00:58:54 +01:00
|
|
|
vendorSha256 = "1pgj0m67g759mcs4s34h4pq3mc7gni643z5cp6ffq4rrn8mdi060";
|
2021-04-22 01:32:03 +01: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;
|
|
|
|
};
|
|
|
|
}
|