depot/third_party/nixpkgs/pkgs/tools/inputmethods/remote-touchpad/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

33 lines
751 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libX11
, libXi
, libXt
, libXtst
}:
buildGoModule rec {
pname = "remote-touchpad";
version = "1.2.1";
src = fetchFromGitHub {
owner = "unrud";
repo = pname;
rev = "v${version}";
sha256 = "sha256-A7/NLopJkIXwS5rAsf7J6tDL10kNOKCoyAj0tCTW6jQ=";
};
buildInputs = [ libX11 libXi libXt libXtst ];
tags = [ "portal,x11" ];
vendorSha256 = "sha256-UbDbUjC8R6LcYUPVWZID5dtu5tCV4NB268K6qTXYmZY=";
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;
};
}