From c47ca4a1261b486571f7f757707efc492d6918de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20James?= Date: Tue, 13 Jan 2026 09:57:03 +0100 Subject: [PATCH] sqlit-tui: 1.0.1 -> 1.2.6 --- pkgs/by-name/sq/sqlit-tui/package.nix | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/by-name/sq/sqlit-tui/package.nix b/pkgs/by-name/sq/sqlit-tui/package.nix index eee59fbfce9e..62f5907eedc9 100644 --- a/pkgs/by-name/sq/sqlit-tui/package.nix +++ b/pkgs/by-name/sq/sqlit-tui/package.nix @@ -1,28 +1,30 @@ { - lib, fetchFromGitHub, + lib, python3Packages, writableTmpDirAsHomeHook, }: python3Packages.buildPythonApplication rec { pname = "sqlit-tui"; - version = "1.0.1"; + version = "1.2.6"; pyproject = true; src = fetchFromGitHub { owner = "Maxteabag"; repo = "sqlit"; tag = "v${version}"; - hash = "sha256-O2/kbKXSjsdSrTFnnNwif2IfV0HG4IPYLrD1eznuhuo="; + hash = "sha256-5uGdKK7z/Rvb4VHZDJOjwPFXedX8l8RTvGvCQs7iAq8="; }; build-system = with python3Packages; [ + hatch-vcs hatchling - uv-build + setuptools-scm ]; dependencies = with python3Packages; [ + docker duckdb keyring mariadb @@ -32,8 +34,10 @@ python3Packages.buildPythonApplication rec { psycopg2 pyodbc pyperclip + sqlparse sshtunnel textual + textual-fastdatatable ]; pythonRelaxDeps = [ @@ -41,19 +45,17 @@ python3Packages.buildPythonApplication rec { ]; nativeCheckInputs = with python3Packages; [ - pytestCheckHook pytest-asyncio + pytestCheckHook writableTmpDirAsHomeHook ]; - pythonImportsCheck = [ - "sqlit" - ]; + pythonImportsCheck = [ "sqlit" ]; disabledTests = [ - # UI tests fail in the sandbox - "tests/ui/" + "tests/ui/" # UI tests fail in the sandbox "test_installer_cancel_terminates_process" # timeout error + "test_detect_strategy_pip_user_fallback" # AssertionError: assert 'externally-managed' == 'pip-user' ]; meta = {