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

This reverts commit 2e433f173c.
This commit is contained in:
Gutyina Gergő
2025-07-25 23:36:56 +02:00
committed by Tom van Dijk
parent 1fd9a57cf1
commit 726e1f5502
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "tree-sitter";
version = "0.24.0-unstable-2025-06-02";
version = "0.24.0";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -23,8 +23,8 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "tree-sitter";
repo = "py-tree-sitter";
rev = "9c78f3b8d10f81b97fbb2181c9333323d6375480";
hash = "sha256-jPqTraGrYFXBlci4Zaleyp/NTQhvuI39tYWRckjnV2E=";
tag = "v${version}";
hash = "sha256-ZDt/8suteaAjGdk71l8eej7jDkkVpVDBIZS63SA8tsU=";
fetchSubmodules = true;
};
@@ -56,21 +56,11 @@ buildPythonPackage rec {
"test_dot_graphs"
];
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 ];
};
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 ];
};
}