anchor.diff:  , perl
   , pkg-config
   , rustPlatform
  +, sqlcipher
   , sqlite
   , fixDarwinDylibNames
   , CoreFoundation
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "libdeltachat";
    version = "1.70.0";
  
    src = fetchFromGitHub {
      owner = "deltachat";
      repo = "deltachat-core-rust";
      rev = version;
      hash = "sha256-702XhFWvFG+g++3X97sy6C5DMNWogv1Xbr8QPR8QyLo=";
    };
  
    patches = [
  
negative.code: 
    buildInputs = [
      openssl
      sqlcipher
      sqlite
    ] ++ lib.optionals stdenv.isDarwin [
      CoreFoundation
  