2017-10-31 16:28:59 +00:00
|
|
|
{ lib, buildPythonPackage, fetchurl, isPy3k, contextlib2 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "raven";
|
2017-12-13 20:52:14 +00:00
|
|
|
version = "6.4.0";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-10-31 16:28:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/r/raven/${name}.tar.gz";
|
2017-12-13 20:52:14 +00:00
|
|
|
sha256 = "00m985w9fja2jf8dpvdhygcr26rwabxkgvcc2v5j6v7d6lrvpvdq";
|
2017-10-31 16:28:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# way too many dependencies to run tests
|
|
|
|
# see https://github.com/getsentry/raven-python/blob/master/setup.py
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = lib.optionals (!isPy3k) [ contextlib2 ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Python client for Sentry (getsentry.com)";
|
|
|
|
homepage = https://github.com/getsentry/raven-python;
|
|
|
|
license = [ lib.licenses.bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|