2022-08-12 12:06:08 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, colorama
|
|
|
|
, dill
|
|
|
|
, fetchFromGitHub
|
|
|
|
, numpy
|
|
|
|
, pandas
|
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "debuglater";
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "1.4.3";
|
2022-08-12 12:06:08 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ploomber";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2022-09-09 14:08:57 +00:00
|
|
|
hash = "sha256-0fnWXmrlZjlLFGbiLC7HuDgMEM6OJVn8ajjNRqFg3Lc=";
|
2022-08-12 12:06:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|