My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/debuglater/default.nix

52 lines
906 B

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