Merge pull request #308197 from fabaff/pipdeptree-bump

python312Packages.pipdeptree: 2.18.1 -> 2.19.1
This commit is contained in:
Nick Cao 2024-05-01 09:57:15 -04:00 committed by GitHub
commit 42fc6d20e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,20 +1,21 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, pythonOlder fetchFromGitHub,
, diff-cover pythonOlder,
, graphviz diff-cover,
, hatchling graphviz,
, hatch-vcs hatchling,
, pytest-mock hatch-vcs,
, pytestCheckHook pytest-mock,
, pip pytestCheckHook,
, virtualenv pip,
virtualenv,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pipdeptree"; pname = "pipdeptree";
version = "2.18.1"; version = "2.19.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -23,7 +24,7 @@ buildPythonPackage rec {
owner = "tox-dev"; owner = "tox-dev";
repo = "pipdeptree"; repo = "pipdeptree";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-fzxshqh2QurpbilG0gC3NWnUntTRoxOHPpfpg6bPI98="; hash = "sha256-kXRz78UHQtVyHFFnURSjOOXX8Me2I5tG2bX+u2yGyzY=";
}; };
build-system = [ build-system = [
@ -31,14 +32,10 @@ buildPythonPackage rec {
hatch-vcs hatch-vcs
]; ];
dependencies = [ dependencies = [ pip ];
pip
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
graphviz = [ graphviz = [ graphviz ];
graphviz
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -48,9 +45,7 @@ buildPythonPackage rec {
virtualenv virtualenv
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ pythonImportsCheck = [ "pipdeptree" ];
"pipdeptree"
];
disabledTests = [ disabledTests = [
# Don't run console tests # Don't run console tests
@ -59,10 +54,10 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Command line utility to show dependency tree of packages"; description = "Command line utility to show dependency tree of packages";
mainProgram = "pipdeptree";
homepage = "https://github.com/tox-dev/pipdeptree"; homepage = "https://github.com/tox-dev/pipdeptree";
changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}"; changelog = "https://github.com/tox-dev/pipdeptree/releases/tag/${version}";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ charlesbaynham ]; maintainers = with maintainers; [ charlesbaynham ];
mainProgram = "pipdeptree";
}; };
} }