2022-06-26 10:26:21 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchFromGitHub
|
|
|
|
, blinker
|
|
|
|
, flask
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "raven";
|
|
|
|
version = "6.10.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "getsentry";
|
|
|
|
repo = "raven-python";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8";
|
|
|
|
};
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
# requires outdated dependencies which have no official support for python 3.4
|
2020-04-24 23:36:52 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2022-06-26 10:26:21 +00:00
|
|
|
pythonImportsCheck = [ "raven" ];
|
|
|
|
|
|
|
|
passthru.optional-dependencies = {
|
|
|
|
flask = [ blinker flask ];
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
2022-06-26 10:26:21 +00:00
|
|
|
description = "Legacy Python client for Sentry (getsentry.com) — replaced by sentry-python";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/getsentry/raven-python";
|
|
|
|
license = [ lib.licenses.bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|