From 2e433f173c7bfe7ff02b01ad355c7eedb8621eda Mon Sep 17 00:00:00 2001 From: Tom van Dijk <18gatenmaker6@gmail.com> Date: Thu, 10 Jul 2025 12:18:51 +0200 Subject: [PATCH 1/3] python3Packages.tree-sitter: 0.24.0 -> 0.24.0-unstable-2025-06-02 Adresses https://github.com/NixOS/nixpkgs/pull/414233#issuecomment-3056281422 --- .../python-modules/tree-sitter/default.nix | 30 ++++++++++++------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/tree-sitter/default.nix b/pkgs/development/python-modules/tree-sitter/default.nix index 1ca0885a73ac..19f839ffcb61 100644 --- a/pkgs/development/python-modules/tree-sitter/default.nix +++ b/pkgs/development/python-modules/tree-sitter/default.nix @@ -15,7 +15,7 @@ buildPythonPackage rec { pname = "tree-sitter"; - version = "0.24.0"; + version = "0.24.0-unstable-2025-06-02"; pyproject = true; disabled = pythonOlder "3.10"; @@ -23,8 +23,8 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "tree-sitter"; repo = "py-tree-sitter"; - tag = "v${version}"; - hash = "sha256-ZDt/8suteaAjGdk71l8eej7jDkkVpVDBIZS63SA8tsU="; + rev = "9c78f3b8d10f81b97fbb2181c9333323d6375480"; + hash = "sha256-jPqTraGrYFXBlci4Zaleyp/NTQhvuI39tYWRckjnV2E="; fetchSubmodules = true; }; @@ -56,11 +56,21 @@ buildPythonPackage rec { "test_dot_graphs" ]; - meta = { - description = "Python bindings to the Tree-sitter parsing library"; - homepage = "https://github.com/tree-sitter/py-tree-sitter"; - changelog = "https://github.com/tree-sitter/py-tree-sitter/releases/tag/${src.tag}"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ fab ]; - }; + meta = + let + # for an -unstable version, we grab the release notes for the last tagged + # version it is based upon + lastTag = lib.pipe version [ + lib.splitVersion + (lib.take 3) + (lib.concatStringsSep ".") + ]; + in + { + description = "Python bindings to the Tree-sitter parsing library"; + homepage = "https://github.com/tree-sitter/py-tree-sitter"; + changelog = "https://github.com/tree-sitter/py-tree-sitter/releases/tag/v${lastTag}"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ fab ]; + }; } From bbd896134c1f25a9f50274bc189e90839aae718e Mon Sep 17 00:00:00 2001 From: Tom van Dijk <18gatenmaker6@gmail.com> Date: Thu, 10 Jul 2025 13:14:36 +0200 Subject: [PATCH 2/3] python3Packages.textual: mark broken --- pkgs/development/python-modules/textual/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/textual/default.nix b/pkgs/development/python-modules/textual/default.nix index e5d3605f0f47..7656052ff355 100644 --- a/pkgs/development/python-modules/textual/default.nix +++ b/pkgs/development/python-modules/textual/default.nix @@ -101,5 +101,7 @@ buildPythonPackage rec { changelog = "https://github.com/Textualize/textual/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ gepbird ]; + # https://github.com/Textualize/textual/issues/5868 + broken = true; }; } From 34d36c860a6f0d379cf6e0ab2f4d20cf415e71c9 Mon Sep 17 00:00:00 2001 From: Tom van Dijk <18gatenmaker6@gmail.com> Date: Thu, 10 Jul 2025 14:45:29 +0200 Subject: [PATCH 3/3] python3Packages.lsp-tree-sitter: mark broken --- pkgs/development/python-modules/lsp-tree-sitter/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/lsp-tree-sitter/default.nix b/pkgs/development/python-modules/lsp-tree-sitter/default.nix index d702e2be6369..d3b7f3af9e7e 100644 --- a/pkgs/development/python-modules/lsp-tree-sitter/default.nix +++ b/pkgs/development/python-modules/lsp-tree-sitter/default.nix @@ -45,5 +45,7 @@ buildPythonPackage rec { homepage = "https://github.com/neomutt/lsp-tree-sitter"; license = licenses.gpl3Only; maintainers = with maintainers; [ doronbehar ]; + # https://github.com/neomutt/lsp-tree-sitter/issues/4 + broken = true; }; }