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