SDL2 intentionally dropped xorg.libX11 propagated build depend.
This broke `love` as:
In file included from modules/window/sdl/Window.cpp:43:
/nix/store/nhq38i6s7zyhaa4l9csp5d1f1hyfzdqa-sdl2-compat-2.32.52-dev/include/SDL2/SDL_syswm.h:68:10: fatal error: X11/Xlib.h: No such file or directory
68 | #include <X11/Xlib.h>
Let's add the dependency to `love` instead.
Co-authored-by: Robert James Hernandez <rob@sarcasticadmin.com>
Co-authored-by: Yifei Sun <ysun@hey.com>
Co-authored-by: Ali Jamadi <jamadi1377@gmail.com>
Co-authored-by: yakampe <yanis.kampe.cv@gmail.com>
Co-authored-by: GetPsyched <priyanshu@getpsyched.dev>
Co-authored-by: Adrien Faure <adrien.faure@protonmail.com>
Co-authored-by: Shahar "Dawn" Or <mightyiampresence@gmail.com>
python3Packages.tree-sitter-grammars: Filtering uncompatible grammars
py-tree-sitter is still not up to date to latest tree-sitter (0.25).
py-tree-sitter gets tree-sitter from a submodule which is at version 0.24.
Therefore all grammar with a langage version greater that 14 are not
compatible (language version is most of the time commited into the
source of the grammar, so we don't have a lot of control over it).
For now it concerns two grammars:
- sql grammar gets generated during the build and therefore ends up with
the latest language version (15) not compatible with py-tree-sitter
- templ grammar is already at version 15 in the upstream source.
rdbtools does not only provide a CLI, but also a python library for
parsing Redis dump.rdb files from other python code [1]:
```
❯ $(nix-build -E 'with import ./. {}; python3.withPackages (p: [p.rdbtools])')/bin/python
Python 3.12.9 (main, Feb 4 2025, 14:38:38) [GCC 14.2.1 20241116] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import rdbtools
>>> rdbtools.VERSION
(0, 1, 15)
```
This exposes/moves it in the python package set, and uses a
toPythonApplication stub in pkgs/by-name, as in the nixpkgs
documentation.
We also fix (some of) the tests, which were previously skipped
alltogether.
[1]: https://github.com/sripathikrishnan/redis-rdb-tools?tab=readme-ov-file#using-the-parser
This changes the previously used `site_id` in the tests'
REST-API usage to `scope_type`+`scope_id`.
Netbox 3.6 is deprecated and no longer available, the test for it
has been removed.