Commit 14f41feb authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.pipdeptree: format with nixfmt

parent 23460109
Loading
Loading
Loading
Loading
+17 −22
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, diff-cover
, graphviz
, hatchling
, hatch-vcs
, pytest-mock
, pytestCheckHook
, pip
, virtualenv
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  diff-cover,
  graphviz,
  hatchling,
  hatch-vcs,
  pytest-mock,
  pytestCheckHook,
  pip,
  virtualenv,
}:

buildPythonPackage rec {
@@ -31,14 +32,10 @@ buildPythonPackage rec {
    hatch-vcs
  ];

  dependencies = [
    pip
  ];
  dependencies = [ pip ];

  passthru.optional-dependencies = {
    graphviz = [
      graphviz
    ];
    graphviz = [ graphviz ];
  };

  nativeCheckInputs = [
@@ -48,9 +45,7 @@ buildPythonPackage rec {
    virtualenv
  ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);

  pythonImportsCheck = [
    "pipdeptree"
  ];
  pythonImportsCheck = [ "pipdeptree" ];

  disabledTests = [
    # Don't run console tests
@@ -59,10 +54,10 @@ buildPythonPackage rec {

  meta = with lib; {
    description = "Command line utility to show dependency tree of packages";
    mainProgram = "pipdeptree";
    homepage = "https://github.com/tox-dev/pipdeptree";
    changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ charlesbaynham ];
    mainProgram = "pipdeptree";
  };
}