anchor.diff:      exec ${jre8}/bin/java -jar $out/share/java/gpsprune.jar "\$@"
       EOF
       chmod 755 $out/bin/gpsprune
  +
  +    mkdir -p $out/share/applications
  +    cp $desktopItem/share/applications"/"* $out/share/applications
  +    mkdir -p $out/share/pixmaps
  +    ${unzip}/bin/unzip -p $src tim/prune/gui/images/window_icon_64.png > $out/share/pixmaps/gpsprune.png
     '';
   
     meta = with stdenv.lib; {
  
positive.code: 
    buildInputs = [ jre8 ];
  
    installPhase = ''
      mkdir -p $out/bin $out/share/java
      cp -v $src $out/share/java/gpsprune.jar
  
negative.code: { fetchurl, stdenv, makeDesktopItem, unzip, bash, jre8 }:
  
  stdenv.mkDerivation rec {
    name = "gpsprune-${version}";
  