pythonPackages.tree-sitter: staging-next fixes (#424008)

authored by K900 and committed by GitHub cb121747 fa6079c2

+24 -10
+2
pkgs/development/python-modules/lsp-tree-sitter/default.nix
··· 45 homepage = "https://github.com/neomutt/lsp-tree-sitter"; 46 license = licenses.gpl3Only; 47 maintainers = with maintainers; [ doronbehar ]; 48 }; 49 }
··· 45 homepage = "https://github.com/neomutt/lsp-tree-sitter"; 46 license = licenses.gpl3Only; 47 maintainers = with maintainers; [ doronbehar ]; 48 + # https://github.com/neomutt/lsp-tree-sitter/issues/4 49 + broken = true; 50 }; 51 }
+2
pkgs/development/python-modules/textual/default.nix
··· 101 changelog = "https://github.com/Textualize/textual/blob/${src.tag}/CHANGELOG.md"; 102 license = lib.licenses.mit; 103 maintainers = with lib.maintainers; [ gepbird ]; 104 }; 105 }
··· 101 changelog = "https://github.com/Textualize/textual/blob/${src.tag}/CHANGELOG.md"; 102 license = lib.licenses.mit; 103 maintainers = with lib.maintainers; [ gepbird ]; 104 + # https://github.com/Textualize/textual/issues/5868 105 + broken = true; 106 }; 107 }
+20 -10
pkgs/development/python-modules/tree-sitter/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "tree-sitter"; 18 - version = "0.24.0"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.10"; ··· 23 src = fetchFromGitHub { 24 owner = "tree-sitter"; 25 repo = "py-tree-sitter"; 26 - tag = "v${version}"; 27 - hash = "sha256-ZDt/8suteaAjGdk71l8eej7jDkkVpVDBIZS63SA8tsU="; 28 fetchSubmodules = true; 29 }; 30 ··· 56 "test_dot_graphs" 57 ]; 58 59 - meta = { 60 - description = "Python bindings to the Tree-sitter parsing library"; 61 - homepage = "https://github.com/tree-sitter/py-tree-sitter"; 62 - changelog = "https://github.com/tree-sitter/py-tree-sitter/releases/tag/${src.tag}"; 63 - license = lib.licenses.mit; 64 - maintainers = with lib.maintainers; [ fab ]; 65 - }; 66 }
··· 15 16 buildPythonPackage rec { 17 pname = "tree-sitter"; 18 + version = "0.24.0-unstable-2025-06-02"; 19 pyproject = true; 20 21 disabled = pythonOlder "3.10"; ··· 23 src = fetchFromGitHub { 24 owner = "tree-sitter"; 25 repo = "py-tree-sitter"; 26 + rev = "9c78f3b8d10f81b97fbb2181c9333323d6375480"; 27 + hash = "sha256-jPqTraGrYFXBlci4Zaleyp/NTQhvuI39tYWRckjnV2E="; 28 fetchSubmodules = true; 29 }; 30 ··· 56 "test_dot_graphs" 57 ]; 58 59 + meta = 60 + let 61 + # for an -unstable version, we grab the release notes for the last tagged 62 + # version it is based upon 63 + lastTag = lib.pipe version [ 64 + lib.splitVersion 65 + (lib.take 3) 66 + (lib.concatStringsSep ".") 67 + ]; 68 + in 69 + { 70 + description = "Python bindings to the Tree-sitter parsing library"; 71 + homepage = "https://github.com/tree-sitter/py-tree-sitter"; 72 + changelog = "https://github.com/tree-sitter/py-tree-sitter/releases/tag/v${lastTag}"; 73 + license = lib.licenses.mit; 74 + maintainers = with lib.maintainers; [ fab ]; 75 + }; 76 }