depot/third_party/nixpkgs/pkgs/tools/inputmethods/remote-touchpad/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

34 lines
792 B
Nix

{ buildGoModule
, fetchFromGitHub
, lib
, libXi
, libXrandr
, libXt
, libXtst
}:
buildGoModule rec {
pname = "remote-touchpad";
version = "1.4.8";
src = fetchFromGitHub {
owner = "unrud";
repo = pname;
rev = "v${version}";
sha256 = "sha256-C/qaLEYvIbl0XINsumAFLnsQgy+EDjoX446BJnuE6eQ=";
};
buildInputs = [ libXi libXrandr libXt libXtst ];
tags = [ "portal,x11" ];
vendorHash = "sha256-bt5KUgNDgWX7CVHvX5c0uYqoxGRDbGbae52+mpnBEZU=";
meta = with lib; {
description = "Control mouse and keyboard from the web browser of a smartphone";
mainProgram = "remote-touchpad";
homepage = "https://github.com/unrud/remote-touchpad";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ schnusch ];
platforms = platforms.linux;
};
}