nixpkgs/pkgs/tools/inputmethods/remote-touchpad/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
755 B
Nix
Raw Normal View History

2021-04-22 02:32:03 +02:00
{ buildGoModule
, fetchFromGitHub
, lib
, libXi
2022-12-30 15:15:52 +01:00
, libXrandr
2021-04-22 02:32:03 +02:00
, libXt
, libXtst
}:
buildGoModule rec {
pname = "remote-touchpad";
2023-03-14 01:19:39 +01:00
version = "1.3.0";
2021-04-22 02:32:03 +02:00
src = fetchFromGitHub {
owner = "unrud";
repo = pname;
rev = "v${version}";
2023-03-14 01:19:39 +01:00
sha256 = "sha256-nsLPqLnup7hGPFzAjxi/40A4fGPB+4m+aIrfNjbxgUY=";
2021-04-22 02:32:03 +02:00
};
2022-12-30 15:15:52 +01:00
buildInputs = [ libXi libXrandr libXt libXtst ];
2021-08-05 23:52:33 +02:00
tags = [ "portal,x11" ];
2021-04-22 02:32:03 +02:00
2023-03-14 01:19:39 +01:00
vendorHash = "sha256-p1XhhXyWdfwgoDEjO/3trB1dm2bAogPydt/MZOg4YmE=";
2021-04-22 02:32:03 +02:00
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;
};
}