2018-02-21 19:40:22 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
|
|
|
, contextlib2, blinker
|
|
|
|
}:
|
2017-10-31 16:28:59 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "raven";
|
2018-12-20 10:40:07 +00:00
|
|
|
version = "6.10.0";
|
2017-10-31 16:28:59 +00:00
|
|
|
|
2018-02-21 19:40:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getsentry";
|
|
|
|
repo = "raven-python";
|
|
|
|
rev = version;
|
2018-12-20 10:40:07 +00:00
|
|
|
sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8";
|
2017-10-31 16:28:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# way too many dependencies to run tests
|
|
|
|
# see https://github.com/getsentry/raven-python/blob/master/setup.py
|
|
|
|
doCheck = false;
|
|
|
|
|
2018-01-20 10:52:21 +00:00
|
|
|
propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ];
|
2017-10-31 16:28:59 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python client for Sentry (getsentry.com)";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/getsentry/raven-python";
|
2017-10-31 16:28:59 +00:00
|
|
|
license = [ lib.licenses.bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|