anchor.diff:  { lib
  +, stdenv
   , aiohttp
   , asttokens
   , blinker
  
positive.code:     pyramid
      pyspark
      sanic
    ];
  
    # The Sentry tests need access to `/etc/protocols` (the tests call
    # `socket.getprotobyname('tcp')`, which reads from this file). Normally
    # this path isn't available in the sandbox. Therefore, use libredirect
    # to make on eavailable from `iana-etc`. This is a test-only operation.
    preCheck = lib.optionalString doCheck ''
      export NIX_REDIRECTS=/etc/protocols=${iana-etc}/etc/protocols
      export LD_PRELOAD=${libredirect}/lib/libredirect.so
    '';
  
    postCheck = "unset NIX_REDIRECTS LD_PRELOAD";
  
    # no tests
    doCheck = true;
  
    pythonImportsCheck = [
      "sentry_sdk"
    ];
  
    meta = with lib; {
      homepage = "https://github.com/getsentry/sentry-python";
      description = "New Python SDK for Sentry.io";
      license = licenses.bsd2;
      maintainers = with maintainers; [ gebner ];
    };
  }
  
negative.code: , chalice
  , django
  , executing
  , fakeredis
  , falcon
  , fetchFromGitHub
  , flask_login
  , gevent
  , httpx
  , iana-etc
  , isPy3k
  , jsonschema
  , libredirect
  , pure-eval
  , pyramid
  , pyspark
  , pytest-django
  , pytest-forked
  , pytest-localserver
  , pytestCheckHook
  , rq
  , sanic
  , sanic-testing
  , sqlalchemy
  , tornado
  , trytond
  