nixpkgs/pkgs/development/python-modules/rollbar/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
994 B
Nix
Raw Normal View History

2022-01-25 07:50:45 +00:00
{ lib
, aiocontextvars
2021-09-23 18:44:56 +00:00
, blinker
, buildPythonPackage
, fetchPypi
2022-01-25 07:50:45 +00:00
, fetchpatch
2021-09-23 18:44:56 +00:00
, httpx
, mock
, pytestCheckHook
, requests
, six
2022-01-25 07:50:45 +00:00
, pythonOlder
2021-09-23 18:44:56 +00:00
, webob
}:
buildPythonPackage rec {
pname = "rollbar";
version = "0.16.2";
2022-01-25 07:50:45 +00:00
format = "setuptools";
disabled = pythonOlder "3.7";
2021-09-23 18:44:56 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "aa3b570062dd8dfb0e11537ba858f9e1633a604680e062a525434b8245540f87";
};
propagatedBuildInputs = [
requests
six
];
checkInputs = [
webob
blinker
mock
httpx
aiocontextvars
pytestCheckHook
];
2022-01-25 07:50:45 +00:00
# Still supporting unittest2
# https://github.com/rollbar/pyrollbar/pull/346
# https://github.com/rollbar/pyrollbar/pull/340
doCheck = false;
pythonImportsCheck = [
"rollbar"
];
2021-09-23 18:44:56 +00:00
meta = with lib; {
description = "Error tracking and logging from Python to Rollbar";
homepage = "https://github.com/rollbar/pyrollbar";
license = licenses.mit;
2021-11-03 00:38:27 +00:00
maintainers = with maintainers; [ ];
2021-09-23 18:44:56 +00:00
};
}