python310Packages.debuglater: init at 1.4.1

This commit is contained in:
Fabian Affolter 2022-08-11 21:40:19 +02:00
parent d6417bd306
commit 144d7eb0ef
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,52 @@
{ lib
, buildPythonPackage
, colorama
, dill
, fetchFromGitHub
, numpy
, pandas
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "debuglater";
version = "1.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "ploomber";
repo = pname;
rev = version;
hash = "sha256-n/Q6yt3q/+6QCGWNmaFrUK/phba6IVu42DMcvVj4vb0=";
};
propagatedBuildInputs = [
colorama
];
passthru.optional-dependencies = {
all = [
dill
];
};
checkInputs = [
numpy
pandas
pytestCheckHook
] ++ passthru.optional-dependencies.all;
pythonImportsCheck = [
"debuglater"
];
meta = with lib; {
description = "Module for post-mortem debugging of Python programs";
homepage = "https://github.com/ploomber/debuglater";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -2234,6 +2234,8 @@ in {
debugpy = callPackage ../development/python-modules/debugpy { };
debuglater = callPackage ../development/python-modules/debuglater { };
decli = callPackage ../development/python-modules/decli { };
decorator = callPackage ../development/python-modules/decorator { };