2019-07-22 13:02:47 +01:00
|
|
|
{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, libinput }:
|
2018-11-10 11:04:53 +00:00
|
|
|
|
|
|
|
bundlerApp {
|
|
|
|
pname = "fusuma";
|
|
|
|
gemdir = ./.;
|
|
|
|
exes = [ "fusuma" ];
|
|
|
|
|
|
|
|
buildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram "$out/bin/fusuma" \
|
|
|
|
--prefix PATH : ${lib.makeBinPath [ libinput ]}
|
|
|
|
'';
|
|
|
|
|
2019-07-22 13:02:47 +01:00
|
|
|
passthru.updateScript = bundlerUpdateScript "fusuma";
|
|
|
|
|
2018-11-10 11:04:53 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Multitouch gestures with libinput driver on X11, Linux";
|
|
|
|
homepage = https://github.com/iberianpig/fusuma;
|
|
|
|
license = licenses.mit;
|
2019-07-22 13:02:47 +01:00
|
|
|
maintainers = with maintainers; [ jfrankenau nicknovitski ];
|
2018-11-10 11:04:53 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|