anchor.diff:      platforms = platforms.all;
     };
   }
  -
  
positive.code:   };
    sourceRoot = (if isStereo then "gt2stereo/trunk" else "goattrk2") + "/src";
  
    nativeBuildInputs = [ unzip imagemagick ];
    buildInputs = [ SDL ];
  
    # PREFIX gets treated as BINDIR.
  
negative.code: 
    # Other files get installed during the build phase.
    installPhase = ''
      runHook preInstall
  
      convert goattrk2.bmp goattracker.png
      install -Dm644 goattracker.png $out/share/icons/hicolor/32x32/apps/goattracker.png
  
      runHook postInstall
    '';
  
    desktopItems = [ desktopItem ];
  
    meta = {
      description = "A crossplatform music editor for creating Commodore 64 music. Uses reSID library by Dag Lem and supports alternatively HardSID & CatWeasel devices"
  