anchor.diff: -{ fetchurl, stdenv, bash, jre8 }:
  +{ fetchurl, stdenv, makeDesktopItem, unzip, bash, jre8 }:
   
   stdenv.mkDerivation rec {
     name = "gpsprune-${version}";
  
positive.code:     homepage = http://activityworkshop.net/software/gpsprune/;
      license = licenses.gpl2Plus;
      maintainers = [ maintainers.rycee ];
    };
  }
  
negative.code: 
    buildInputs = [ jre8 ];
  
    desktopItem = makeDesktopItem {
      name = "gpsprune";
      exec = "gpsprune";
      icon = "gpsprune";
      desktopName = "GpsPrune";
      genericName = "GPS Data Editor";
      comment = meta.description;
      categories = "Education;Geoscience;";
    };
  
    installPhase = ''
      mkdir -p $out/bin $out/share/java
      cp -v $src $out/share/java/gpsprune.jar
  