nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 22.05 41 lines 747 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, tox 6, pip 7}: 8 9buildPythonPackage rec { 10 pname = "pipdeptree"; 11 version = "2.2.1"; 12 format = "pyproject"; 13 14 disabled = pythonOlder "3.4"; 15 16 src = fetchFromGitHub { 17 owner = "naiquevin"; 18 repo = "pipdeptree"; 19 rev = "${version}"; 20 sha256 = "sha256-CL0li/79qptOtOGLwder5s0+6zv7+PUnl+bD6p+XBtA="; 21 }; 22 23 propagatedBuildInputs = [ 24 pip 25 ]; 26 27 checkInputs = [ 28 tox 29 ]; 30 31 pythonImportsCheck = [ 32 "pipdeptree" 33 ]; 34 35 meta = with lib; { 36 description = "Command line utility to show dependency tree of packages"; 37 homepage = "https://github.com/naiquevin/pipdeptree"; 38 license = licenses.mit; 39 maintainers = with maintainers; [ charlesbaynham ]; 40 }; 41}