1{ lib 2, buildPythonPackage 3, colorama 4, dill 5, fetchFromGitHub 6, numpy 7, pandas 8, pytestCheckHook 9, pythonOlder 10}: 11 12buildPythonPackage rec { 13 pname = "debuglater"; 14 version = "1.4.4"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "ploomber"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-o9IAk3EN8ghEft7Y7Xx+sEjWMNgoyiZ0eiBqnCyXkm8="; 24 }; 25 26 propagatedBuildInputs = [ 27 colorama 28 ]; 29 30 passthru.optional-dependencies = { 31 all = [ 32 dill 33 ]; 34 }; 35 36 nativeCheckInputs = [ 37 numpy 38 pandas 39 pytestCheckHook 40 ] ++ passthru.optional-dependencies.all; 41 42 pythonImportsCheck = [ 43 "debuglater" 44 ]; 45 46 meta = with lib; { 47 description = "Module for post-mortem debugging of Python programs"; 48 homepage = "https://github.com/ploomber/debuglater"; 49 changelog = "https://github.com/ploomber/debuglater/blob/${version}/CHANGELOG.md"; 50 license = licenses.mit; 51 maintainers = with maintainers; [ fab ]; 52 }; 53}