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