depot/third_party/nixpkgs/pkgs/tools/inputmethods/fusuma/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

24 lines
662 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, gnugrep, libinput }:
bundlerApp {
pname = "fusuma";
gemdir = ./.;
exes = [ "fusuma" ];
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/fusuma" \
--prefix PATH : ${lib.makeBinPath [ gnugrep libinput ]}
'';
passthru.updateScript = bundlerUpdateScript "fusuma";
meta = with lib; {
description = "Multitouch gestures with libinput driver on X11, Linux";
homepage = "https://github.com/iberianpig/fusuma";
license = licenses.mit;
maintainers = with maintainers; [ jfrankenau nicknovitski Br1ght0ne ];
platforms = platforms.linux;
};
}