Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
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 = pname; 23 rev = "refs/tags/${version}"; 24 hash = "sha256-o9IAk3EN8ghEft7Y7Xx+sEjWMNgoyiZ0eiBqnCyXkm8="; 25 }; 26 27 propagatedBuildInputs = [ colorama ]; 28 29 passthru.optional-dependencies = { 30 all = [ dill ]; 31 }; 32 33 nativeCheckInputs = [ 34 numpy 35 pandas 36 pytestCheckHook 37 ] ++ passthru.optional-dependencies.all; 38 39 pythonImportsCheck = [ "debuglater" ]; 40 41 meta = with lib; { 42 description = "Module for post-mortem debugging of Python programs"; 43 homepage = "https://github.com/ploomber/debuglater"; 44 changelog = "https://github.com/ploomber/debuglater/blob/${version}/CHANGELOG.md"; 45 license = licenses.mit; 46 maintainers = with maintainers; [ fab ]; 47 }; 48}