nixpkgs-suyu/pkgs/tools/inputmethods/fusuma/default.nix
2019-12-10 01:49:16 +02:00

24 lines
639 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, libinput }:
bundlerApp {
pname = "fusuma";
gemdir = ./.;
exes = [ "fusuma" ];
buildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram "$out/bin/fusuma" \
--prefix PATH : ${lib.makeBinPath [ 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 filalex77 ];
platforms = platforms.linux;
};
}