Skip to content

Commit

Permalink
libinput-three-finger-drag: init at 0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ajgon committed Dec 11, 2024
1 parent 6c7048f commit 12e5420
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nixos/doc/manual/release-notes/rl-2505.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@

- [agorakit](https://github.com/agorakit/agorakit), an organization tool for citizens' collectives. Available with [services.agorakit](options.html#opt-services.agorakit.enable).

- [libinput-three-finger-drag](https://github.com/marsqing/libinput-three-finger-drag), three-finger-drag support for libinput.

- [mqtt-exporter](https://github.com/kpetremann/mqtt-exporter/), a Prometheus exporter for exposing messages from MQTT. Available as [services.prometheus.exporters.mqtt](#opt-services.prometheus.exporters.mqtt.enable).

- [Buffyboard](https://gitlab.postmarketos.org/postmarketOS/buffybox/-/tree/master/buffyboard), a framebuffer on-screen keyboard. Available as [services.buffyboard](option.html#opt-services.buffyboard).
Expand Down
38 changes: 38 additions & 0 deletions pkgs/by-name/li/libinput-three-finger-drag/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
rustPlatform,
fetchFromGitHub,
libinput,
xdotool,
makeWrapper,
}:

rustPlatform.buildRustPackage {
pname = "libinput-three-finger-drag";
version = "0.1-unstable-2024-06-17";

src = fetchFromGitHub {
owner = "marsqing";
repo = "libinput-three-finger-drag";
rev = "6acd3f84b551b855b5f21b08db55e95dae3305c5";
hash = "sha256-xmcTb+23d6mMzIfMVjzN6bwV0fWH4p6YhXXqrFmt4TM=";
};
cargoHash = "sha256-D8a+kaINXqYkNmh1NJWom1p9/ziEzUoJvcknJPZxOS4=";

nativeBuildInputs = [ makeWrapper ];
buildInputs = [ xdotool ];

postFixup = ''
wrapProgram "$out/bin/libinput-three-finger-drag" \
--prefix PATH : "${lib.makeBinPath [ libinput ]}"
'';

meta = {
description = "Three-finger-drag support for libinput.";
homepage = "https://github.com/marsqing/libinput-three-finger-drag";
license = with lib.licenses; [ mit ];
mainProgram = "libinput-three-finger-drag";
maintainers = with lib.maintainers; [ ajgon ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 12e5420

Please sign in to comment.