Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions pkgs/development/python-modules/textual/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ buildPythonPackage rec {
disabledTests = [
# Assertion issues
"test_textual_env_var"

# Fail since tree-sitter-markdown was updated to 0.5.0
# ValueError: Incompatible Language version 15. Must be between 13 and 14
# https://github.com/Textualize/textual/issues/5868
"test_setting_builtin_language_via_attribute"
"test_setting_builtin_language_via_constructor"
];

pytestFlagsArray = [
Expand Down
10 changes: 7 additions & 3 deletions pkgs/development/python-modules/tree-sitter-markdown/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@

buildPythonPackage rec {
pname = "tree-sitter-markdown";
version = "0.5.0";
# only update to the latest version on PyPI
version = "0.3.2";
pyproject = true;

src = fetchFromGitHub {
owner = "tree-sitter-grammars";
repo = "tree-sitter-markdown";
tag = "v${version}";
hash = "sha256-I9KDE1yZce8KIGPLG5tmv5r/NCWwN95R6fIyvGdx+So=";
hash = "sha256-OlVuHz9/5lxsGVT+1WhKx+7XtQiezMW1odiHGinzro8=";
};

build-system = [
Expand All @@ -41,6 +42,9 @@ buildPythonPackage rec {
homepage = "https://github.com/tree-sitter-grammars/tree-sitter-markdown";
changelog = "https://github.com/tree-sitter-grammars/tree-sitter-markdown/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
maintainers = with lib.maintainers; [
GaetanLepage
gepbird
];
};
}