depot/third_party/nixpkgs/pkgs/tools/inputmethods/remote-touchpad/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

33 lines
751 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libX11
, libXi
, libXt
, libXtst
}:
buildGoModule rec {
pname = "remote-touchpad";
version = "1.0.4";
src = fetchFromGitHub {
owner = "unrud";
repo = pname;
rev = "v${version}";
sha256 = "sha256-VgTjQXjJn17+BhREew62RTjNo8UWc4Fn9x+924nGD+I=";
};
buildInputs = [ libX11 libXi libXt libXtst ];
tags = [ "portal,x11" ];
vendorSha256 = "sha256-Cw4uMnID0nDhSl+ijHMo1VcXLdY1bHFpEkqDQDJOJOw=";
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;
};
}