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:     ++ optional withJson json_c
      ++ optional withYubikey libyubikey
      ++ optional withCollectd collectd;
  
    # NOTE: are the --with-{lib}-lib-dir and --with-{lib}-include-dir necessary with buildInputs ?
  
    configureFlags = [
       "--sysconfdir=/etc"
  
negative.code: , openssl
  , linkOpenssl? true
  , openldap
  , withLdap ? true
  , sqlite
  , withSqlite ? true
  , libpcap
  , withPcap ? true
  , libcap
  