anchor.diff:      ln -s $out/share/gitkraken/gitkraken $out/bin/gitkraken
   
       mkdir -p $out/share/applications
  -    cp ${desktopItem}/share/applications/* $out/share/applications/
  -
  -    substituteInPlace $out/share/applications/gitkraken.desktop \
  -      --replace $out/usr/share/gitkraken $out/bin
  +    ln -s ${desktopItem}/share/applications/* $out/share/applications
   
       mkdir -p $out/share/pixmaps
       cp gitkraken.png $out/share/pixmaps/gitkraken.png
  
positive.code:   ];
  
    desktopItem = makeDesktopItem {
      name = "gitkraken";
      exec = "gitkraken";
      icon = "gitkraken";
      desktopName = "GitKraken";
  
negative.code: in
  stdenv.mkDerivation rec {
    pname = "gitkraken";
    version = "7.5.0";
  
    src = fetchzip {
      url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
      sha256 = "1v89aza7iwph7k5phyld5m5856c5wbh8ncgg6lh7558v4xna0x57";
    };
  
    dontBuild = true;
  