anchor.diff:      homepage = http://edbrowse.org/;
       maintainers = [ maintainers.schmitthenner maintainers.vrthra ];
       platforms = platforms.linux;
  +    broken = true;  # no compatible spidermonkey
     };
   }
  
positive.code: { stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl, perl, html-tidy }:
  stdenv.mkDerivation rec {
    name = "edbrowse-${version}";
    version = "3.6.1";
  
    nativeBuildInputs = [ unzip ];
    buildInputs = [ curl pcre readline openssl spidermonkey_24 perl html-tidy ];
  
    patchPhase = ''
      substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
  
negative.code:     done
    '';
  
    NIX_CFLAGS_COMPILE = "-I${spidermonkey}/include/mozjs-31";
    makeFlags = "-C src prefix=$(out)";
  
    src = fetchurl {
  