anchor.diff:      homepage="http://www.tinc-vpn.org/";
       license = licenses.gpl2Plus;
       platforms = platforms.unix;
  -    maintainers = with maintainers; [ wkennington fpletz ];
  +    maintainers = with maintainers; [ wkennington fpletz lassulus ];
     };
   }
  
positive.code:   nativeBuildInputs = [ autoreconfHook texinfo ];
    buildInputs = [ ncurses readline zlib lzo openssl ];
  
    prePatch = ''
      substituteInPlace configure.ac --replace UNKNOWN ${version}
    '';
  
    patches = [
      # Avoid infinite loop with "Error while reading from Linux tun/tap device (tun mode) /dev/net/tun: File descriptor in bad state" on network restart
      (fetchpatch {
        url = https://github.com/gsliepen/tinc/compare/acefa66...e4544db.patch;
        sha256 = "1jz7anqqzk7j96l5ifggc2knp14fmbsjdzfrbncxx0qhb6ihdcvn";
      })
    ];
  
    postInstall = ''
      rm $out/bin/tinc-gui
  
negative.code: 
  stdenv.mkDerivation rec {
    name = "tinc-${version}";
    version = "1.1pre15";
  
    src = fetchgit {
      rev = "refs/tags/release-${version}";
      url = "git://tinc-vpn.org/tinc";
      sha256 = "1msym63jpipvzb5dn8yn8yycrii43ncfq6xddxh2ifrakr48l6y5";
    };
  
    outputs = [ "out" "man" "info" ];
  