anchor.diff:      platforms   = platforms.unix;
     };
   }
  +
  +// stdenv.lib.optionalAttrs stdenv.isDarwin {
  +  preBuild =  ''
  +    sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
  +  '';
  +})
  +
  
positive.code: 
    patches = [ ./deadlock.patch ] ++ map fetchurl (import ./debian-patches.nix);
  
    preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
      sed -i 's/,--version-script=.*$/\\/' libgamin/Makefile
    '';
  
    meta = with stdenv.lib; {
      homepage    = https://people.gnome.org/~veillard/gamin/;
  
negative.code: { stdenv, fetchurl, python, pkgconfig, glib }:
  
  stdenv.mkDerivation (rec {
    name = "gamin-0.1.10";
  
    src = fetchurl {
  