anchor.diff:        sha256 = "1lk91s00y4qy4pjh8638b5lfkgwyl282g1m27srsf7qfn58y16a2";
       };
     in ''
  +    mkdir -p test/test-databases
       ln -s ${test-database} test/test-databases/database-v1.tar.xz
     '';
     doCheck = !stdenv.hostPlatform.isDarwin && (versionAtLeast gmime.version "3.0.3");
  
positive.code: with stdenv.lib;
  
  stdenv.mkDerivation rec {
    version = "0.30";
    pname = "notmuch";
  
    passthru = {
      pythonSourceRoot = "${pname}-${version}/bindings/python";
      inherit version;
    };
  
    src = fetchurl {
      url = "https://notmuchmail.org/releases/${pname}-${version}.tar.xz";
      sha256 = "1ylnj12f7xr18v3ckb1nwc2aw2rj3ghqnj5f4rzccr8xw5pslfsy";
    };
  
    nativeBuildInputs = [
  
negative.code: { fetchurl, fetchgit, stdenv
  , pkgconfig, gnupg
  , xapian, gmime, talloc, zlib
  , doxygen, perl, texinfo
  