anchor.diff: -{ stdenv, fetchgit, fetchurl, writeText
  -, qt4, qmake4Hook, protobuf, libpcap
  -, wireshark, gzip, diffutils, gawk
  +{ stdenv, fetchFromGitHub, fetchurl, qmake4Hook, makeDesktopItem
  +, qt4, protobuf, libpcap, wireshark, gzip, diffutils, gawk
   }:
   
   stdenv.mkDerivation rec {
  -  name = "ostinato-2015-12-24";
  -  src = fetchgit {
  -    url = "https://github.com/pstavirs/ostinato.git";
  -    rev = "414d89860de0987843295d149bcabeac7c6fd9e5";
  -    sha256 = "1yif8z8ih027jdsgnxd82z9914wrqpkpi4xgxqv9lygnb2jjjrdx";
  +  name    = "ostinato-${version}";
  +  version = "0.8";
  +
  +  src = fetchFromGitHub  {
  +    owner  = "pstavirs";
  +    repo   = "ostinato";
  +    rev    = "v${version}";
  +    sha256 = "1b5a5gypcy9i03mj6md3lkrq05rqmdyhfykrr1z0sv8n3q48xca3";
     };
   
  -  ostinato_png = fetchurl {
  +  ostinatoIcon = fetchurl {
       url = "http://ostinato.org/images/site-logo.png";
       sha256 = "f5c067823f2934e4d358d76f65a343efd69ad783a7aeabd7ab4ce3cd03490d70";
     };
  
positive.code: 
    patches = [ ./drone_ini.patch ];
  
    postInstall = ''
      cat > $out/bin/ostinato.ini <<EOF
      WiresharkPath=${wireshark}/bin/wireshark
      TsharkPath=${wireshark}/bin/tshark
  
negative.code:     DiffPath=${diffutils}/bin/diff
      AwkPath=${gawk}/bin/awk
      EOF
    '';
  
    meta = with stdenv.lib; {
      description = "A packet traffic generator and analyzer";
      homepage    = http://ostinato.org;
      license     = licenses.gpl3;
      maintainers = with maintainers; [ rick68 ];
      platforms   = with platforms; linux ++ darwin ++ cygwin;
    };
  }
  