1{ lib, buildPythonPackage, fetchFromGitHub, isPy3k 2, contextlib2, blinker 3}: 4 5buildPythonPackage rec { 6 pname = "raven"; 7 version = "6.6.0"; 8 9 src = fetchFromGitHub { 10 owner = "getsentry"; 11 repo = "raven-python"; 12 rev = version; 13 sha256 = "184wpr0zdcm260pxqll9kpmp2ywisn75k8pdm8gc6xmk740in1hj"; 14 }; 15 16 # way too many dependencies to run tests 17 # see https://github.com/getsentry/raven-python/blob/master/setup.py 18 doCheck = false; 19 20 propagatedBuildInputs = [ blinker ] ++ lib.optionals (!isPy3k) [ contextlib2 ]; 21 22 meta = { 23 description = "A Python client for Sentry (getsentry.com)"; 24 homepage = https://github.com/getsentry/raven-python; 25 license = [ lib.licenses.bsd3 ]; 26 maintainers = with lib.maintainers; [ primeos ]; 27 }; 28}