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";
|
2024-01-02 11:29:13 +00:00
|
|
|
version = "1.0.0";
|
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;
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-Y0e35J8i8ClvwoemrqddZCz2RJTS7hJwQqelk8l9868=";
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-10-01 09:20:50 +00:00
|
|
|
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";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "rollbar";
|
2021-10-01 09:20:50 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|