nixpkgs/pkgs/development/python-modules/sentry-sdk/default.nix
Gabriel Ebner 7828823386
Merge pull request #72099 from otwieracz/master
Remove unnecessary `sentry-sdk` dependencies causing problems in python27 builds
2019-11-02 17:42:39 +01:00

24 lines
750 B
Nix

{ stdenv, buildPythonPackage, fetchPypi, isPy3k, urllib3, certifi, django, flask, tornado, bottle, rq, falcon, celery, pyramid, sanic, aiohttp }:
buildPythonPackage rec {
pname = "sentry-sdk";
version = "0.13.0";
src = fetchPypi {
inherit pname version;
sha256 = "ff14935cc3053de0650128f124c36f34a4be120b8cc522c149f5cba342c1fd05";
};
checkInputs = [ django flask tornado bottle rq falcon ]
++ stdenv.lib.optionals isPy3k [ celery pyramid sanic aiohttp ];
propagatedBuildInputs = [ urllib3 certifi ];
meta = with stdenv.lib; {
homepage = "https://github.com/getsentry/sentry-python";
description = "New Python SDK for Sentry.io";
license = licenses.bsd2;
maintainers = with maintainers; [ gebner ];
};
}