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