anchor.diff:    patches = [ ./udev-absolute-path.patch ];
   
     postPatch = ''
  -    patchShebangs tools/helper-copy-and-exec-from-tmp.sh
  -    patchShebangs test/symbols-leak-test
  -    patchShebangs test/check-leftover-udev-rules.sh
  -    patchShebangs test/helper-copy-and-exec-from-tmp.sh
  +    patchShebangs \
  +      tools/helper-copy-and-exec-from-tmp.sh \
  +      test/symbols-leak-test \
  +      test/check-leftover-udev-rules.sh \
  +      test/helper-copy-and-exec-from-tmp.sh
     '';
   
     doCheck = testsSupport && stdenv.hostPlatform == stdenv.buildPlatform;
   
  -  meta = {
  +  meta = with lib; {
       description = "Handles input devices in Wayland compositors and provides a generic X.Org input driver";
       homepage    = "https://www.freedesktop.org/wiki/Software/libinput/";
       license     = licenses.mit;
  
positive.code: { lib, stdenv, fetchFromGitLab, pkg-config, meson, ninja
  , libevdev, mtdev, udev, libwacom
  , documentationSupport ? false, doxygen ? null, graphviz ? null # Documentation
  , eventGUISupport ? false, cairo ? null, glib ? null, gtk3 ? null # GUI event viewer support
  , testsSupport ? false, check ? null, valgrind ? null, python3 ? null
  }:
  
  assert documentationSupport -> doxygen != null && graphviz != null && python3 != null;
  assert eventGUISupport -> cairo != null && glib != null && gtk3 != null;
  assert testsSupport -> check != null && valgrind != null && python3 != null;
  
  let
    mkFlag = optSet: flag: "-D${flag}=${lib.boolToString optSet}";
  
negative.code:   ];
  
    nativeBuildInputs = [ pkg-config meson ninja ]
      ++ lib.optionals documentationSupport [ doxygen graphviz sphinx-build ];
  
    buildInputs = [
      libevdev
  