587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
58 lines
1,013 B
Nix
58 lines
1,013 B
Nix
{ lib
|
|
, aiocontextvars
|
|
, blinker
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fetchpatch
|
|
, httpx
|
|
, mock
|
|
, pytestCheckHook
|
|
, requests
|
|
, six
|
|
, pythonOlder
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rollbar";
|
|
version = "1.0.0";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-Y0e35J8i8ClvwoemrqddZCz2RJTS7hJwQqelk8l9868=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
six
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
webob
|
|
blinker
|
|
mock
|
|
httpx
|
|
aiocontextvars
|
|
pytestCheckHook
|
|
];
|
|
|
|
# Still supporting unittest2
|
|
# https://github.com/rollbar/pyrollbar/pull/346
|
|
# https://github.com/rollbar/pyrollbar/pull/340
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"rollbar"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Error tracking and logging from Python to Rollbar";
|
|
mainProgram = "rollbar";
|
|
homepage = "https://github.com/rollbar/pyrollbar";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|