nixpkgs/pkgs/tools/inputmethods/fusuma/default.nix
Artturin 211fdaa087 treewide: bundlerApp makeWrapper buildInputs -> nativeBuildInputs
the docs for bundlerApp used to have makeWrapper in buildInputs but it
has been corrected already
2022-08-14 06:41:33 +03:00

25 lines
645 B
Nix

{ lib, bundlerApp, bundlerUpdateScript, makeWrapper, libinput }:
bundlerApp {
pname = "fusuma";
gemdir = ./.;
exes = [ "fusuma" ];
nativeBuildInputs = [ 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 Br1ght0ne ];
platforms = platforms.linux;
};
}