Revert "python3Packages.tree-sitter: 0.24.0 -> 0.24.0-unstable-2025-06-02"

This reverts commit 2e433f173c7bfe7ff02b01ad355c7eedb8621eda.

authored by gepbird.tngl.sh and committed by Tom van Dijk 726e1f55 1fd9a57c

+10 -20
+10 -20
pkgs/development/python-modules/tree-sitter/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "tree-sitter"; 18 - version = "0.24.0-unstable-2025-06-02"; 18 + version = "0.24.0"; 19 19 pyproject = true; 20 20 21 21 disabled = pythonOlder "3.10"; ··· 23 23 src = fetchFromGitHub { 24 24 owner = "tree-sitter"; 25 25 repo = "py-tree-sitter"; 26 - rev = "9c78f3b8d10f81b97fbb2181c9333323d6375480"; 27 - hash = "sha256-jPqTraGrYFXBlci4Zaleyp/NTQhvuI39tYWRckjnV2E="; 26 + tag = "v${version}"; 27 + hash = "sha256-ZDt/8suteaAjGdk71l8eej7jDkkVpVDBIZS63SA8tsU="; 28 28 fetchSubmodules = true; 29 29 }; 30 30 ··· 56 56 "test_dot_graphs" 57 57 ]; 58 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 - }; 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 + }; 76 66 }