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