depot/third_party/nixpkgs/pkgs/development/python-modules/pipdeptree/default.nix
Default email 22017988c6 Project import generated by Copybara.
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
2022-04-27 11:35:20 +02:00

41 lines
747 B
Nix

{ 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 ];
};
}