anchor.diff:      ++ stdenv.lib.optional enableSpidermonkey "--with-spidermonkey=${spidermonkey}"
       ;
   
  -  meta = {
  +  meta = with stdenv.lib; {
       description = "Full-featured text-mode web browser";
       homepage = "http://elinks.or.cz";
  -    license = stdenv.lib.licenses.gpl2;
  -    platforms = stdenv.lib.platforms.linux;
  +    license = licenses.gpl2;
  +    platforms = with platforms; linux ++ darwin;
     };
   }
  
positive.code:     ./openssl-1.1.patch
    ];
  
    buildInputs = [ ncurses xlibsWrapper bzip2 zlib openssl spidermonkey gpm ]
      ++ stdenv.lib.optional enableGuile guile
      ++ stdenv.lib.optional enablePython python
      ++ stdenv.lib.optional enablePerl perl
  
negative.code: assert enableGuile -> guile != null;
  assert enablePython -> python != null;
  
  stdenv.mkDerivation rec {
    pname = "elinks";
    version = "0.12pre6";
  
    src = fetchurl {
      url = "http://elinks.or.cz/download/${pname}-${version}.tar.bz2";
      sha256 = "1nnakbi01g7yd3zqwprchh5yp45br8086b0kbbpmnclabcvlcdiq";
    };
  
  