12 stdenv.mkDerivation rec {
16 src = fetchFromSourcehut {
20 hash = "sha256-ZzPdIwN4/G5Te51gJpbNcHVkG4Rplcaa8yHDJr58oyk=";
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 homepage = "https://git.sr.ht/~mil/lisgd";
47 license = licenses.mit;
48 platforms = platforms.linux;
49 maintainers = with maintainers; [ dotlambda ];