* Switched `rev` to `tag`.
* Added `passthru.updateScript`
* Removed `with lib;` from `meta`
* Updated `meta.description` and `meta.longDescription` to reflect that there is a CLI tool too.
* Adopted.
Nix fails with an infinite recursion error When running the qrencode tests with
SDL2 in nativeCheckInputs.
Removing the dependency fixes the error and the tests still run successfully.
The source tar is no more available at
https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz
E.g.
$ curl -I 'https://fukuchi.org/works/qrencode/qrencode-4.1.1.tar.gz'
HTTP/1.1 404 Not Found
Date: Sat, 17 May 2025 07:13:20 GMT
Server: Apache/2.4.62 (Debian)
Strict-Transport-Security: max-age=31536000
Content-Type: text/html; charset=iso-8859-
However, we can download it from the official repository on GitHub as mentioned
in the project's home page[1].
To make the package build, we use autoreconfHook to mimick the repo's
`autogen.sh` because the GitHub repo does not contain the configure script as
mentioned in the project's README[2]:
> If there is no "configure" script in the source code directory, run
> "autogen.sh" at first to generate it - this is mandatory if you downloaded
> the source from GitHub.
[1] https://web.archive.org/web/20250413215821/https://fukuchi.org/en/works/qrencode/
[2] 50b3e5725c/README.md (compile--install)