keymap-drawer: pin tree-sitter to 0.24.0

keymap-drawer currently requires tree-sitter 0.24.0, and does not work
correctly when run with 0.25+. Pin the input to 0.24.0 for now.

See: https://github.com/caksoylar/keymap-drawer/issues/183
and: https://github.com/caksoylar/keymap-drawer/commit/481a40d

Changed files
+11 -1
pkgs
development
python-modules
keymap-drawer
+11 -1
pkgs/development/python-modules/keymap-drawer/default.nix
···
buildPythonPackage,
fetchFromGitHub,
+
fetchPypi,
pythonOlder,
nix-update-script,
···
pydantic-settings
pyparsing
pyyaml
-
tree-sitter
+
# keymap-drawer currently requires tree-sitter 0.24.0
+
# See https://github.com/caksoylar/keymap-drawer/issues/183
+
(tree-sitter.overrideAttrs rec {
+
version = "0.24.0";
+
src = fetchPypi {
+
inherit version;
+
inherit (tree-sitter) pname;
+
hash = "sha256-q9la9lyi9Pfso1Y0M5HtZp52Tzd0i1NSlG8A9/x45zQ=";
+
};
+
})
tree-sitter-grammars.tree-sitter-devicetree
];