|
|
|
@ -1,5 +1,8 @@ |
|
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k |
|
|
|
|
, contextlib2, blinker |
|
|
|
|
{ lib |
|
|
|
|
, buildPythonPackage |
|
|
|
|
, fetchFromGitHub |
|
|
|
|
, blinker |
|
|
|
|
, flask |
|
|
|
|
}: |
|
|
|
|
|
|
|
|
|
buildPythonPackage rec { |
|
|
|
@ -13,14 +16,17 @@ buildPythonPackage rec { |
|
|
|
|
sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
# way too many dependencies to run tests |
|
|
|
|
# see https://github.com/getsentry/raven-python/blob/master/setup.py |
|
|
|
|
# requires outdated dependencies which have no official support for python 3.4 |
|
|
|
|
doCheck = false; |
|
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ]; |
|
|
|
|
pythonImportsCheck = [ "raven" ]; |
|
|
|
|
|
|
|
|
|
passthru.optional-dependencies = { |
|
|
|
|
flask = [ blinker flask ]; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
meta = { |
|
|
|
|
description = "A Python client for Sentry (getsentry.com)"; |
|
|
|
|
description = "Legacy Python client for Sentry (getsentry.com) — replaced by sentry-python"; |
|
|
|
|
homepage = "https://github.com/getsentry/raven-python"; |
|
|
|
|
license = [ lib.licenses.bsd3 ]; |
|
|
|
|
maintainers = with lib.maintainers; [ primeos ]; |
|
|
|
|