jaq: new package 2.3.0

The goal is to package https://crates.io/crates/jaq for Debian. From reading the book, I believe this will need a RFS and an ITP.

There is a 2-year-old ITP for jaq: https://lists.debian.org/debian-devel/2023/12/msg00002.html

This MR also adds:

  • codesnake
  • hifijson
  • jaq-core
  • jaq-std
  • jaq-json

Which are dependencies of jaq. If this needs to be split, let me know.

Notice that there is a beta version that gets fetched by default because it is the latest, so I had to use REALVER=2.3.0 to get the latest stable version.

jaq-json contains most of the test coverage. jaq-std and jaq-core have testing disabled. jaq needs libmimalloc3 otherwise it crashes.

autopkg is not finding golden.rs but I have manually tested some basic examples. Running:

dpkg-deb -x jaq_2.3.0-1_arm64.deb jaq-extracted
echo '{"name": "test", "value": 42}' | ./jaq-extracted/usr/bin/jaq '.name'

Outputs "test"

Edited by Ivan Carvalho

Merge request reports

Loading