From c15e8505e1839e21eda59912ccab125c312e5fbc Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Mon, 30 Sep 2024 21:29:17 -0500 Subject: [PATCH] smassh: fix textual version --- pkgs/by-name/sm/smassh/package.nix | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/sm/smassh/package.nix b/pkgs/by-name/sm/smassh/package.nix index 15ca2dd6ac35..fb3de46e9ff9 100644 --- a/pkgs/by-name/sm/smassh/package.nix +++ b/pkgs/by-name/sm/smassh/package.nix @@ -23,13 +23,26 @@ python3.pkgs.buildPythonApplication rec { nativeBuildInputs = with python3.pkgs; [ poetry-core ]; - pythonRelaxDeps = [ "textual" ]; - propagatedBuildInputs = with python3.pkgs; [ - textual appdirs click requests + (textual.overridePythonAttrs (oldAttrs: { + version = "0.52.1"; + src = fetchFromGitHub { + owner = "Textualize"; + repo = "textual"; + rev = "refs/tags/v0.52.1"; + hash = "sha256-a5v8HS6ZswQOl/jIypFJTk+MuMsu89H2pAAlWMPkLjI="; + }; + disabledTests = [ + "test_tracked_slugs" + "test_textual_env_var" + "test_register_language" + "test_register_language_existing_language" + "test_language_binary_missing" + ]; + })) ]; # No tests available