about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/raven/default.nix
blob: f49230494e4827bd13fff32a44eed126d169fcc6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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 ];
  };
}