python37Packages.sentry-sdk: Fix tests

The tests depend on many third-party libraries, presumably because
Sentry offers integration for each of them. I added these as build
inputs but not propagated build inputs, because they are only needed for
the tests.
This commit is contained in:
Ruud van Asseldonk 2019-09-20 11:03:18 +02:00
parent 6c3bf80a75
commit ce6145dedc

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, urllib3, certifi }: { stdenv, buildPythonPackage, fetchPypi, urllib3, certifi, django, flask, tornado, sanic, aiohttp, bottle, rq, falcon, pyramid, celery }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "sentry-sdk"; pname = "sentry-sdk";
@ -9,6 +9,8 @@ buildPythonPackage rec {
sha256 = "f5819df450d7b0696be69a0c6d70a09e4890a3844ee8ccb7a461794135bd5965"; sha256 = "f5819df450d7b0696be69a0c6d70a09e4890a3844ee8ccb7a461794135bd5965";
}; };
buildInputs = [ django flask tornado sanic aiohttp bottle rq falcon pyramid celery ];
propagatedBuildInputs = [ urllib3 certifi ]; propagatedBuildInputs = [ urllib3 certifi ];
meta = with stdenv.lib; { meta = with stdenv.lib; {