From 0d91857fc391de60869431691ec40b327e400089 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 19 Feb 2022 11:25:30 +0100 Subject: python3Packages.bugsnag: add pythonImportsCheck - update meta - update inputs --- pkgs/development/python-modules/bugsnag/default.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/bugsnag/default.nix b/pkgs/development/python-modules/bugsnag/default.nix index c55976fd3a6..ace2e2166d7 100644 --- a/pkgs/development/python-modules/bugsnag/default.nix +++ b/pkgs/development/python-modules/bugsnag/default.nix @@ -2,29 +2,36 @@ , buildPythonPackage , fetchPypi , pythonOlder -, six , webob }: buildPythonPackage rec { pname = "bugsnag"; version = "4.2.0"; + format = "setuptools"; + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "sha256-NnTn4m9we40Ww2abP7mbz1CtdypZyN2GYBvj8zxhOpI="; + hash = "sha256-NnTn4m9we40Ww2abP7mbz1CtdypZyN2GYBvj8zxhOpI="; }; - propagatedBuildInputs = [ six webob ]; + propagatedBuildInputs = [ + webob + ]; + + pythonImportsCheck = [ + "bugsnag" + ]; # no tests doCheck = false; meta = with lib; { - description = "Automatic error monitoring for django, flask, etc."; - homepage = "https://www.bugsnag.com"; + description = "Automatic error monitoring for Python applications"; + homepage = "https://github.com/bugsnag/bugsnag-python"; license = licenses.mit; - platforms = platforms.unix; + maintainers = with maintainers; [ ]; }; } -- cgit 1.4.1