Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildGoModule 2, fetchFromGitHub 3, lib 4, libXi 5, libXrandr 6, libXt 7, libXtst 8}: 9 10buildGoModule rec { 11 pname = "remote-touchpad"; 12 version = "1.4.2"; 13 14 src = fetchFromGitHub { 15 owner = "unrud"; 16 repo = pname; 17 rev = "v${version}"; 18 sha256 = "sha256-uydt95mK0395dHvEno2SCnmKMJSkQ4TL7k7gnyoXlO0="; 19 }; 20 21 buildInputs = [ libXi libXrandr libXt libXtst ]; 22 tags = [ "portal,x11" ]; 23 24 vendorHash = "sha256-SYh1MhJUrJKguR12L3yyxHoBB6ux6a4TUJyPvoYx7iU="; 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}