17 buildPythonPackage rec {
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-Tg41ZH91yyE3N2ndmQ9VsK/0t7g9cBNZd4A6XcqBZdo=";
32 # only set to ensure py3.13 compat
33 # https://github.com/tox-dev/pipdeptree/pull/406
34 substituteInPlace pyproject.toml \
35 --replace-fail '"pip>=24.2"' '"pip"'
48 optional-dependencies = {
49 graphviz = [ graphviz ];
57 ] ++ lib.flatten (builtins.attrValues optional-dependencies);
59 pythonImportsCheck = [ "pipdeptree" ];
62 # Don't run console tests
67 description = "Command line utility to show dependency tree of packages";
68 homepage = "https://github.com/tox-dev/pipdeptree";
69 changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}";
70 license = licenses.mit;
71 maintainers = with maintainers; [ charlesbaynham ];
72 mainProgram = "pipdeptree";