nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 33 lines 767 B view raw
1{ buildGoModule 2, fetchFromGitHub 3, lib 4, libX11 5, libXi 6, libXt 7, libXtst 8}: 9 10buildGoModule rec { 11 pname = "remote-touchpad"; 12 version = "1.0.1"; 13 14 src = fetchFromGitHub { 15 owner = "unrud"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "0zmbn4s3yhcgmijc96vja7zj2sh6q0nkybhqy0fwz6sqzk8hq02x"; 19 }; 20 21 buildInputs = [ libX11 libXi libXt libXtst ]; 22 buildFlags = [ "-tags" "portal,x11" ]; 23 24 vendorSha256 = "0q1qk5g7kqpcci5fgamvxa8989jglv69kwg5rvkphbnx1bzlivrl"; 25 26 meta = with lib; { 27 description = "Control mouse and keyboard from the webbrowser of a smartphone."; 28 homepage = "https://github.com/unrud/remote-touchpad"; 29 license = licenses.gpl3Plus; 30 maintainers = with maintainers; [ schnusch ]; 31 platforms = platforms.linux; 32 }; 33}