anchor.diff:  with stdenv.lib;
   stdenv.mkDerivation rec {
     name = "freeradius-${version}";
  -  version = "3.0.11";
  +  version = "3.0.12";
   
  -  buildInputs = [ autoreconfHook openssl talloc finger_bsd perl ]
  +  src = fetchurl {
  +    url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
  +    sha256 = "182xnb9pdsivlyfm471l90m37q9i04h7jadhkgm0ivvzrzpzcnja";
  +  };
  +
  +  nativeBuildInputs = [ autoreconfHook ];
  +
  +  buildInputs = [ openssl talloc finger_bsd perl ]
       ++ optional withLdap openldap
       ++ optional withSqlite sqlite
       ++ optional withPcap libpcap
  
positive.code:     "localstatedir=\${TMPDIR}"
    ];
  
    src = fetchurl {
      url = "ftp://ftp.freeradius.org/pub/freeradius/freeradius-server-${version}.tar.gz";
      sha256 = "0naxw9b060rbp4409904j6nr2zwl6wbjrbq1839xrwhmaf8p4yxr";
    };
  
    meta = with stdenv.lib; {
      homepage = http://freeradius.org/;
      description = "A modular, high performance free RADIUS suite";
  
negative.code: , openssl
  , linkOpenssl? true
  , openldap
  , withLdap ? true
  , sqlite
  , withSqlite ? true
  , libpcap
  , withPcap ? true
  , libcap
  