anchor.diff:  assert enableGuile -> guile != null;
   assert enablePython -> python != null;
   
  -stdenv.mkDerivation {
  -  name = "elinks-0.12pre6";
  +stdenv.mkDerivation rec {
  +  pname = "elinks";
  +  version = "0.12pre6";
   
     src = fetchurl {
  -    url = "http://elinks.or.cz/download/elinks-0.12pre6.tar.bz2";
  +    url = "http://elinks.or.cz/download/${pname}-${version}.tar.bz2";
       sha256 = "1nnakbi01g7yd3zqwprchh5yp45br8086b0kbbpmnclabcvlcdiq";
     };
   
  
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:     ++ stdenv.lib.optional enableSpidermonkey "--with-spidermonkey=${spidermonkey}"
      ;
  
    meta = with stdenv.lib; {
      description = "Full-featured text-mode web browser";
      homepage = "http://elinks.or.cz";
      license = licenses.gpl2;
      platforms = with platforms; linux ++ darwin;
    };
  }
  