summary refs log blame commit diff
path: root/pkgs/tools/inputmethods/fusuma/default.nix
blob: 58cbe91e3c570e892137c5199a8a07d344c97f37 (plain) (tree)
1
2
3
4
5
6
7
8
                                                                         





                      
                                      


                                   
                                                             

     

                                                       

                                                                           

                                                      
                                                                          
                                

    
{ 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;
  };
}