anchor.diff:      "-DSQLITE_ENABLE_FTS3"
       "-DSQLITE_ENABLE_FTS3_PARENTHESIS"
       "-DSQLITE_ENABLE_FTS4"
  +    "-DSQLITE_ENABLE_FTS5"
       "-DSQLITE_ENABLE_RTREE"
       "-DSQLITE_ENABLE_STMT_SCANSTATUS"
       "-DSQLITE_ENABLE_UNLOCK_NOTIFY"
  
positive.code: }:
  
  stdenv.mkDerivation {
    name = "sqlite-3.14.2";
  
    src = fetchurl {
      url = "https://sqlite.org/2016/sqlite-autoconf-3140200.tar.gz";
      sha1Confirm = "5d3a6bccd9154963641960db61df901a4e0b3ca0";
      sha256 = "644f0c127f7d0cbe8765b9bbdf9ed09d6a2f2b9dfba48ddfd8ca0a42fdb5b3fc";
    };
  
    buildInputs = [
  
negative.code:   ];
  
    configureFlags = [
      "--enable-fts5"
      "--enable-json1"
      "--enable-session"
    ];
  
    NIX_CFLAGS_COMPILE = [
  