2024-06-05 15:53:02 +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" ];
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
optional-dependencies = {
|
2024-06-05 15:53:02 +00:00
|
|
|
flask = [
|
|
|
|
blinker
|
|
|
|
flask
|
|
|
|
];
|
2022-06-26 10:26:21 +00:00
|
|
|
};
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "raven";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/getsentry/raven-python";
|
|
|
|
license = [ lib.licenses.bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|