2022-01-26 04:04:25 +00:00
|
|
|
{ lib
|
|
|
|
, aiocontextvars
|
2021-10-01 09:20:50 +00:00
|
|
|
, blinker
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2022-01-26 04:04:25 +00:00
|
|
|
, fetchpatch
|
2021-10-01 09:20:50 +00:00
|
|
|
, httpx
|
|
|
|
, mock
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
|
|
|
, six
|
2022-01-26 04:04:25 +00:00
|
|
|
, pythonOlder
|
2021-10-01 09:20:50 +00:00
|
|
|
, webob
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rollbar";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "0.16.3";
|
2022-01-26 04:04:25 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2021-10-01 09:20:50 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-AjE9/GBxDsc2qwM9D4yWnYV6i5kc1n4MGpFiDooE7eI=";
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
webob
|
|
|
|
blinker
|
|
|
|
mock
|
|
|
|
httpx
|
|
|
|
aiocontextvars
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
2022-01-26 04:04:25 +00:00
|
|
|
# Still supporting unittest2
|
|
|
|
# https://github.com/rollbar/pyrollbar/pull/346
|
|
|
|
# https://github.com/rollbar/pyrollbar/pull/340
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"rollbar"
|
|
|
|
];
|
2021-10-01 09:20:50 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Error tracking and logging from Python to Rollbar";
|
|
|
|
homepage = "https://github.com/rollbar/pyrollbar";
|
|
|
|
license = licenses.mit;
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
}
|