Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / debuglater / default.nix
blob8eabbacf7c863ba888a6220e8aac3b3d4c7060a4
1 { lib
2 , buildPythonPackage
3 , colorama
4 , dill
5 , fetchFromGitHub
6 , numpy
7 , pandas
8 , pytestCheckHook
9 , pythonOlder
12 buildPythonPackage rec {
13   pname = "debuglater";
14   version = "1.4.4";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "ploomber";
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-o9IAk3EN8ghEft7Y7Xx+sEjWMNgoyiZ0eiBqnCyXkm8=";
24   };
26   propagatedBuildInputs = [
27     colorama
28   ];
30   passthru.optional-dependencies = {
31     all = [
32       dill
33     ];
34   };
36   nativeCheckInputs = [
37     numpy
38     pandas
39     pytestCheckHook
40   ] ++ passthru.optional-dependencies.all;
42   pythonImportsCheck = [
43     "debuglater"
44   ];
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   };