3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pipdeptree/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
747 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, tox
, pip
}:
buildPythonPackage rec {
pname = "pipdeptree";
version = "2.2.1";
format = "pyproject";
disabled = pythonOlder "3.4";
src = fetchFromGitHub {
owner = "naiquevin";
repo = "pipdeptree";
rev = "${version}";
sha256 = "sha256-CL0li/79qptOtOGLwder5s0+6zv7+PUnl+bD6p+XBtA=";
};
propagatedBuildInputs = [
pip
];
checkInputs = [
tox
];
pythonImportsCheck = [
"pipdeptree"
];
meta = with lib; {
description = "Command line utility to show dependency tree of packages";
homepage = "https://github.com/naiquevin/pipdeptree";
license = licenses.mit;
maintainers = with maintainers; [ charlesbaynham ];
};
}