1{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
2, contextlib2, blinker
3}:
4
5buildPythonPackage rec {
6 pname = "raven";
7 version = "6.10.0";
8
9 src = fetchFromGitHub {
10 owner = "getsentry";
11 repo = "raven-python";
12 rev = version;
13 sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8";
14 };
15
16 # way too many dependencies to run tests
17 # see https://github.com/getsentry/raven-python/blob/master/setup.py
18 doCheck = false;
19
20 propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ];
21
22 meta = {
23 description = "A Python client for Sentry (getsentry.com)";
24 homepage = "https://github.com/getsentry/raven-python";
25 license = [ lib.licenses.bsd3 ];
26 maintainers = with lib.maintainers; [ primeos ];
27 };
28}