2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
aiocontextvars,
|
|
|
|
blinker,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
httpx,
|
|
|
|
mock,
|
|
|
|
pytestCheckHook,
|
|
|
|
requests,
|
|
|
|
six,
|
|
|
|
pythonOlder,
|
|
|
|
webob,
|
2021-10-01 09:20:50 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
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;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-10-01 09:20:50 +00:00
|
|
|
};
|
|
|
|
}
|