about summary refs log tree commit diff
path: root/pkgs/tools/inputmethods/remote-touchpad
diff options
context:
space:
mode:
authorschnusch <schnusch@users.noreply.github.com>2021-04-22 02:32:03 +0200
committerschnusch <schnusch@users.noreply.github.com>2021-04-24 18:18:10 +0200
commitf96a6606d6c23a598b6a5aa1c08186afec81d990 (patch)
tree85581cfd0ecd97f6f8ab2bd4ee4ef1f908775841 /pkgs/tools/inputmethods/remote-touchpad
parentb7e08de1e9e9a3e484fd8952151c59571e5c479c (diff)
downloadnixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar.gz
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar.bz2
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar.lz
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar.xz
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.tar.zst
nixlib-f96a6606d6c23a598b6a5aa1c08186afec81d990.zip
remote-touchpad: init at 1.0.1
Diffstat (limited to 'pkgs/tools/inputmethods/remote-touchpad')
-rw-r--r--pkgs/tools/inputmethods/remote-touchpad/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/inputmethods/remote-touchpad/default.nix b/pkgs/tools/inputmethods/remote-touchpad/default.nix
new file mode 100644
index 000000000000..0bd2b09aafc1
--- /dev/null
+++ b/pkgs/tools/inputmethods/remote-touchpad/default.nix
@@ -0,0 +1,33 @@
+{ buildGoModule
+, fetchFromGitHub
+, lib
+, libX11
+, libXi
+, libXt
+, libXtst
+}:
+
+buildGoModule rec {
+  pname = "remote-touchpad";
+  version = "1.0.1";
+
+  src = fetchFromGitHub {
+    owner = "unrud";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "0zmbn4s3yhcgmijc96vja7zj2sh6q0nkybhqy0fwz6sqzk8hq02x";
+  };
+
+  buildInputs = [ libX11 libXi libXt libXtst ];
+  buildFlags = [ "-tags" "portal,x11" ];
+
+  vendorSha256 = "0q1qk5g7kqpcci5fgamvxa8989jglv69kwg5rvkphbnx1bzlivrl";
+
+  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;
+  };
+}