anchor.diff:      description = "Lightweight high-performance web server";
       homepage = http://www.lighttpd.net/;
       license = stdenv.lib.licenses.bsd3;
  -    platforms = platforms.linux;
  +    platforms = platforms.linux ++ platforms.darwin;
       maintainers = [ maintainers.bjornfor ];
     };
   }
  
positive.code:                 ++ stdenv.lib.optional enableMysql "--with-mysql"
                  ++ stdenv.lib.optional enableLdap "--with-ldap"
                  ++ stdenv.lib.optional enableWebDAV "--with-webdav-props"
                  ++ stdenv.lib.optional enableWebDAV "--with-webdav-locks";
  
    preConfigure = ''
      sed -i "s:/usr/bin/file:${file}/bin/file:g" configure
  
negative.code:   '';
  
    nativeBuildInputs = [ pkgconfig ];
    buildInputs = [ pcre libxml2 zlib bzip2 which file openssl ]
               ++ stdenv.lib.optional enableMagnet lua5_1
               ++ stdenv.lib.optional enableMysql mysql.connector-c
               ++ stdenv.lib.optional enableLdap openldap
  