anchor.diff:  
       But FOP isn't packaged yet.  */
   
  -  configureFlags = "--with-zlib=system";
  +  preConfigure = "cd gpsbabel";
  +  configureFlags = [ "--with-zlib=system" ];
  +
  +  doCheck = true;
   
     meta = {
       description = "GPSBabel, a tool to convert, upload and download data from GPS and Map programs";
  
positive.code:     homepage = http://www.gpsbabel.org/;
  
      license = "GPLv2+";
    };
  }
  
negative.code: { fetchurl, stdenv, zlib, expat, which }:
  
  let version = "1.4.3"; in
  stdenv.mkDerivation {
    name = "gpsbabel-${version}";
  
    src = fetchurl {
      # gpgbabel.org makes it hard to get the source tarball automatically, so
      # get it from elsewhere.
      url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz";
      sha256 = "1s31xa36ivf836h89m1f3qiaz3c3znvqjdm0bnh8vr2jjlrz9jdi";
    };
  
    # FIXME: Would need libxml2 for one of the tests, but that in turns require
    # network access for the XML schemas.
    buildInputs = [ zlib expat which ];
  
    /* FIXME: Building the documentation, with "make doc", requires this:
  
  