anchor.diff:    ];
   
     desktopItem = makeDesktopItem {
  -    name = "gitkraken";
  +    name = pname;
       exec = "gitkraken";
       icon = "gitkraken";
       desktopName = "GitKraken";
  
positive.code:     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
  
      mkdir -p $out/share/pixmaps
      cp gitkraken.png $out/share/pixmaps/gitkraken.png
  
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;
  