python311Packages.typer: 0.7.0 -> 0.9.0

Changelog: https://github.com/tiangolo/typer/releases/tag/0.9.0

+14 -13
+14 -13
pkgs/development/python-modules/typer/default.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , buildPythonPackage 4 + , click 4 5 , colorama 6 + , coverage 5 7 , fetchpatch 6 8 , fetchPypi 7 9 , flit-core 8 - , click 10 + , pytest-sugar 11 + , pytest-xdist 9 12 , pytestCheckHook 13 + , pythonOlder 10 14 , rich 11 15 , shellingham 12 - , pytest-xdist 13 - , pytest-sugar 14 - , coverage 15 - , pythonOlder 16 + , typing-extensions 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "typer"; 20 - version = "0.7.0"; 21 + version = "0.9.0"; 21 22 format = "pyproject"; 22 23 23 24 disabled = pythonOlder "3.6"; 24 25 25 26 src = fetchPypi { 26 27 inherit pname version; 27 - hash = "sha256-/3l4RleKnyogG1NEKu3rVDMZRmhw++HHAeq2bddoEWU="; 28 + hash = "sha256-UJIv15rqL0dRqOBAj/ENJmK9DIu/qEdVppnzutopeLI="; 28 29 }; 29 - 30 - postPatch = '' 31 - substituteInPlace pyproject.toml \ 32 - --replace "rich >=10.11.0,<13.0.0" "rich" 33 - ''; 34 30 35 31 nativeBuildInputs = [ 36 32 flit-core ··· 38 34 39 35 propagatedBuildInputs = [ 40 36 click 37 + typing-extensions 41 38 ]; 42 39 43 40 passthru.optional-dependencies = { ··· 58 55 preCheck = '' 59 56 export HOME=$(mktemp -d); 60 57 ''; 61 - disabledTests = lib.optionals stdenv.isDarwin [ 58 + 59 + disabledTests = [ 60 + "test_scripts" 61 + ] ++ lib.optionals stdenv.isDarwin [ 62 62 # likely related to https://github.com/sarugaku/shellingham/issues/35 63 63 "test_show_completion" 64 64 "test_install_completion" ··· 73 73 meta = with lib; { 74 74 description = "Library for building CLI applications"; 75 75 homepage = "https://typer.tiangolo.com/"; 76 + changelog = "https://github.com/tiangolo/typer/releases/tag/${version}"; 76 77 license = licenses.mit; 77 78 maintainers = with maintainers; [ winpat ]; 78 79 };