anchor.diff:    };
   
     nativeBuildInputs = [
  -    scons makeWrapper pkgconfig docbook_xml_dtd_412 docbook_xsl xmlto bc
  -    pythonFull
  +    scons pkgconfig docbook_xml_dtd_412 docbook_xsl xmlto bc
  +    pythonPackages.python
  +    pythonPackages.wrapPython
     ];
   
     buildInputs = [
  -    pythonFull dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext
  +    pythonPackages.python dbus dbus_glib ncurses libX11 libXt libXpm libXaw libXext
       libxslt libusb1
  +  ];
  +
  +  pythonPath = [
  +    pythonPackages.pygobject
  +    pythonPackages.pygtk
     ];
   
     patches = [
  
positive.code: 
    # TODO: the udev rules file and the hotplug script need fixes to work on NixOS
    installPhase = ''
      scons install
      mkdir -p "$out/lib/udev/rules.d"
      scons udev-install
    '';
  
    postInstall = "wrapPythonPrograms";
  
    meta = with stdenv.lib; {
      description = "GPS service daemon";
  
negative.code:     homepage = http://catb.org/gpsd/;
      license = "BSD-style";
      platforms = platforms.linux;
      maintainers = with maintainers; [ bjornfor rasendubi ];
    };
  }
  