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.3"; 15 format = "setuptools"; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "ploomber"; 21 repo = pname; 22 rev = version; 23 hash = "sha256-0fnWXmrlZjlLFGbiLC7HuDgMEM6OJVn8ajjNRqFg3Lc="; 24 }; 25 26 propagatedBuildInputs = [ 27 colorama 28 ]; 29 30 passthru.optional-dependencies = { 31 all = [ 32 dill 33 ]; 34 }; 35 36 checkInputs = [ 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 license = licenses.mit; 50 maintainers = with maintainers; [ fab ]; 51 }; 52}