anchor.diff:    libPath = stdenv.lib.makeLibraryPath [
       glib libSM libICE gtk2 libXext libXft fontconfig libXrender libXfixes libX11
       libXi libXrandr libXcursor freetype libXinerama libxcb zlib stdenv.cc.cc.lib
  +    dbus libGL
     ];
   
   in
   
  +assert stdenv.hostPlatform.system == "x86_64-linux";
  +
   stdenv.mkDerivation rec {
     pname = "saleae-logic";
  -  version = "1.2.10";
  +  version = "1.2.28";
     name = "${pname}-${version}";
   
  -  src =
  -    if stdenv.hostPlatform.system == "i686-linux" then
  -      fetchurl {
  -        name = "saleae-logic-${version}-32bit.zip";
  -        url = "http://downloads.saleae.com/logic/${version}/Logic%20${version}%20(32-bit).zip";
  -        sha256 = "1dyrj07cgj2fvwi1sk97vady9ri8f8n7mxy9zyzmw9isngs7bmll";
  -      }
  -    else if stdenv.hostPlatform.system == "x86_64-linux" then
  -      fetchurl {
  -        name = "saleae-logic-${version}-64bit.zip";
  -        url = "http://downloads.saleae.com/logic/${version}/Logic%20${version}%20(64-bit).zip";
  -        sha256 = "1skx2pfnic7pyss7c69qb7kg2xvflpxf112xkf9awk516dw1w4h7";
  -      }
  -    else
  -      throw "Saleae Logic software requires i686-linux or x86_64-linux";
  +  src = fetchurl {
  +    name = "saleae-logic-${version}-64bit.zip";
  +    url = "http://downloads.saleae.com/logic/${version}/Logic%20${version}%20(64-bit).zip";
  +    sha256 = "0apq8hmn39k0ads4xy8iyy9rp8bvia60mh7a944rk1gjpqv227g5";
  +  };
   
     desktopItem = makeDesktopItem {
       name = "saleae-logic";
  
positive.code: { stdenv, fetchurl, unzip, glib, libSM, libICE, gtk2, libXext, libXft
  , fontconfig, libXrender, libXfixes, libX11, libXi, libXrandr, libXcursor
  , freetype, libXinerama, libxcb, zlib, pciutils
  , makeDesktopItem, xkeyboardconfig, runtimeShell
  }:
  
  let
  
negative.code:     description = "Software for Saleae logic analyzers";
      homepage = http://www.saleae.com/;
      license = licenses.unfree;
      platforms = platforms.linux;
      maintainers = [ maintainers.bjornfor ];
    };
  }
  