587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
36 lines
837 B
Nix
36 lines
837 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, blinker
|
|
, flask
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "raven";
|
|
version = "6.10.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "getsentry";
|
|
repo = "raven-python";
|
|
rev = version;
|
|
sha256 = "16x9ldl8cy7flw5kh7qmgbmflqyf210j3q6ac2lw61sgwajsnvw8";
|
|
};
|
|
|
|
# requires outdated dependencies which have no official support for python 3.4
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "raven" ];
|
|
|
|
passthru.optional-dependencies = {
|
|
flask = [ blinker flask ];
|
|
};
|
|
|
|
meta = {
|
|
description = "Legacy Python client for Sentry (getsentry.com) — replaced by sentry-python";
|
|
mainProgram = "raven";
|
|
homepage = "https://github.com/getsentry/raven-python";
|
|
license = [ lib.licenses.bsd3 ];
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
};
|
|
}
|