mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 02:42:59 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
35 lines
792 B
Nix
35 lines
792 B
Nix
{ buildGoModule
|
|
, fetchFromGitHub
|
|
, lib
|
|
, libXi
|
|
, libXrandr
|
|
, libXt
|
|
, libXtst
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "remote-touchpad";
|
|
version = "1.4.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "unrud";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-LytZBVubsGajx4hFYwP3MwHkAW7LlIr77aVLpeHwWxU=";
|
|
};
|
|
|
|
buildInputs = [ libXi libXrandr libXt libXtst ];
|
|
tags = [ "portal,x11" ];
|
|
|
|
vendorHash = "sha256-vL6kSm0yPEn5TNpB6E+2+Xjm/ANNUxgA8XEWz9n7kHI=";
|
|
|
|
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;
|
|
};
|
|
}
|