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