depot/third_party/nixpkgs/pkgs/development/python-modules/debuglater/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

52 lines
906 B
Nix

{ 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 ];
};
}