at master 1.0 kB view raw
1{ 2 lib, 3 aiocontextvars, 4 blinker, 5 buildPythonPackage, 6 fetchPypi, 7 setuptools, 8 httpx, 9 mock, 10 pytestCheckHook, 11 requests, 12 six, 13 pythonOlder, 14 webob, 15}: 16 17buildPythonPackage rec { 18 pname = "rollbar"; 19 version = "1.3.0"; 20 pyproject = true; 21 22 disabled = pythonOlder "3.7"; 23 24 src = fetchPypi { 25 inherit pname version; 26 hash = "sha256-UZQC6sObzE+khIIYcva7GEl/t7bIEWcEeGfRdxTTs3k="; 27 }; 28 29 build-system = [ setuptools ]; 30 31 dependencies = [ 32 requests 33 six 34 ]; 35 36 nativeCheckInputs = [ 37 webob 38 blinker 39 mock 40 httpx 41 aiocontextvars 42 pytestCheckHook 43 ]; 44 45 # Still supporting unittest2 46 # https://github.com/rollbar/pyrollbar/pull/346 47 # https://github.com/rollbar/pyrollbar/pull/340 48 doCheck = false; 49 50 pythonImportsCheck = [ "rollbar" ]; 51 52 meta = with lib; { 53 description = "Error tracking and logging from Python to Rollbar"; 54 mainProgram = "rollbar"; 55 homepage = "https://github.com/rollbar/pyrollbar"; 56 license = licenses.mit; 57 maintainers = [ ]; 58 }; 59}