12 stdenv.mkDerivation rec {
16 src = fetchFromSourcehut {
20 hash = "sha256-ljRZpBo4lW2cYZYxKKMrXanE0YaHSFwcdyECK0czdWY=";
26 configFile = if lib.isDerivation conf || lib.isPath conf then
29 writeText "config.def.h" conf;
30 in lib.optionalString (conf != null) ''
31 cp ${configFile} config.def.h
41 "PREFIX=${placeholder "out"}"
45 description = "Bind gestures via libinput touch events";
46 mainProgram = "lisgd";
47 homepage = "https://git.sr.ht/~mil/lisgd";
48 license = licenses.mit;
49 platforms = platforms.linux;
50 maintainers = with maintainers; [ dotlambda ];