anchor.diff:    preConfigure =
       ''
         sed -i 's@,/dev/null@@' configure
  -    ''; 
  +    '';
   
     # --unresolved-symbols=ignore-in-shared-libs makes ld no longer find --library=yate? Why?
     preBuild =
  
positive.code: { composableDerivation, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
  
  let inherit (composableDerivation) edf wwf; in
  
  composableDerivation.composableDerivation {} ( fixed : {
    name = "yate-2.2.0_1";
  
    src = fetchurl {
      url = http://yate.null.ro/tarballs/yate2/yate2.tar.gz;
      sha256 = "1z1rvzcw6449cvczig1dkh6rlp6f8zv649sk0ldz38mwkyd07257";
    };
  
    # TODO zaptel ? postgres ?
  
negative.code:         -e 's@-Wl,--retain-symbols-file@@'
      '';
  
    meta = {
      description = "Yet another telephony engine";
      homepage = http://yate.null.ro/;
      # Yate's license is GPL with an exception for linking with
      # OpenH323 and PWlib (licensed under MPL).
      license = ["GPL" "MPL"];
      maintainers = [ lib.maintainers.marcweber ];
      platforms = lib.platforms.linux;
    };
  
  }
  