diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 80f3ac75dbbc..65a0772135ad 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -9,6 +9,7 @@ # dependencies annotated-doc, + click, # optional-dependencies rich, @@ -23,14 +24,14 @@ buildPythonPackage rec { pname = "typer"; - version = "0.26.8"; + version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; tag = version; - hash = "sha256-VkqvlWLzmtbQPaplx/YRdSNN1xq/UMRl8EZVIEm97Lk="; + hash = "sha256-HIvXseuR7zUXFuTWzntDfHhAp8BcFjxo35gn0i4+03w="; }; postPatch = '' @@ -46,6 +47,7 @@ buildPythonPackage rec { dependencies = [ annotated-doc + click rich shellingham ]; @@ -65,10 +67,6 @@ buildPythonPackage rec { # fails also on Linux "test_show_completion" "test_install_completion" - # error message mismatch - "test_file_error" - # test invokes test_types_file.py and fails to import .../tests - "test_binary_stderr" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ "test_install_completion"