about summary refs log tree commit diff
path: root/pkgs/development/python-modules/rollbar
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2021-09-23 15:44:56 -0300
committersuperherointj <5861043+superherointj@users.noreply.github.com>2021-09-26 17:13:03 -0300
commitc0b0beb28ae718d4468c2f0e3978f637753ad69e (patch)
tree656faa10247dcbfb5f43de3d8d7ae32e3db47fec /pkgs/development/python-modules/rollbar
parent7dad6965ddc958a19299d7b615bbb5dace6ac2e9 (diff)
python3Packages.rollbar: init 0.16.2
Diffstat (limited to 'pkgs/development/python-modules/rollbar')
-rw-r--r--pkgs/development/python-modules/rollbar/default.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/rollbar/default.nix b/pkgs/development/python-modules/rollbar/default.nix
new file mode 100644
index 0000000000000..60787d5158ad3
--- /dev/null
+++ b/pkgs/development/python-modules/rollbar/default.nix
@@ -0,0 +1,47 @@
+{ aiocontextvars
+, blinker
+, buildPythonPackage
+, fetchPypi
+, httpx
+, lib
+, mock
+, pytestCheckHook
+, requests
+, six
+, unittest2
+, webob
+}:
+
+buildPythonPackage rec {
+  pname = "rollbar";
+  version = "0.16.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "aa3b570062dd8dfb0e11537ba858f9e1633a604680e062a525434b8245540f87";
+  };
+
+  propagatedBuildInputs = [
+    requests
+    six
+  ];
+
+  checkInputs = [
+    webob
+    blinker
+    unittest2
+    mock
+    httpx
+    aiocontextvars
+    pytestCheckHook
+  ];
+
+  pythonImportsCheck = [ "rollbar" ];
+
+  meta = with lib; {
+    description = "Error tracking and logging from Python to Rollbar";
+    homepage = "https://github.com/rollbar/pyrollbar";
+    license = licenses.mit;
+    maintainers = with maintainers; [ superherointj ];
+  };
+}