1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, blinker
5, flask
6}:
7
8buildPythonPackage rec {
9 pname = "raven";
10 version = "6.10.0";
11
12 src = fetchFromGitHub {
13 owner = "getsentry";
14 repo = "raven-python";
15 rev = version;
16 sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8";
17 };
18
19 # requires outdated dependencies which have no official support for python 3.4
20 doCheck = false;
21
22 pythonImportsCheck = [ "raven" ];
23
24 passthru.optional-dependencies = {
25 flask = [ blinker flask ];
26 };
27
28 meta = {
29 description = "Legacy Python client for Sentry (getsentry.com) — replaced by sentry-python";
30 homepage = "https://github.com/getsentry/raven-python";
31 license = [ lib.licenses.bsd3 ];
32 maintainers = with lib.maintainers; [ primeos ];
33 };
34}