anchor.diff:      homepage = http://catb.org/gpsd/;
       license = "BSD-style";
       platforms = platforms.linux;
  -    maintainers = [ maintainers.bjornfor ];
  +    maintainers = with maintainers; [ bjornfor rasendubi ];
     };
   }
  
positive.code: { fetchurl, stdenv, scons, pythonFull, pkgconfig, dbus, dbus_glib
  , ncurses, libX11, libXt, libXpm, libXaw, libXext, makeWrapper
  , libusb1, docbook_xml_dtd_412, docbook_xsl, bc
  , libxslt, xmlto, gpsdUser ? "gpsd", gpsdGroup ? "dialout"
  }:
  
  # TODO: the 'xgps' program doesn't work: "ImportError: No module named gobject"
  # TODO: put the X11 deps behind a guiSupport parameter for headless support
  
  stdenv.mkDerivation rec {
  
negative.code:   #   we use $LD_LIBRARY_PATH instead.
    buildPhase = ''
      patchShebangs .
      sed -e "s|python_lib_dir = .*|python_lib_dir = \"$out/lib/${pythonPackages.python.libPrefix}/site-packages\"|" -i SConstruct
      scons prefix="$out" leapfetch=no gpsd_user=${gpsdUser} gpsd_group=${gpsdGroup} \
          systemd=yes udevdir="$out/lib/udev" chrpath=no
    '';
  
    checkPhase = ''
      export LD_LIBRARY_PATH="$PWD"
  