librest_1_0 supports cross compilation (in staging: https://github.com/NixOS/nixpkgs/pull/223142),
but the old 0.8 version still doesn't. unlike 1.0 -- which builds with
meson -- librest 0.8 uses autotools with no obvious way to tell
`configure` to use the native gtk-doc, so just skip docs for cross
builds of this older version.
During librest's migration to libsoup 3 a bug was introduced which
causes the following assertion failure and subsequent abort when a
librest request could not be completed due to a network failure:
Rest:ERROR:../rest/rest-proxy-call.c:628:finish_call: assertion failed: (payload)
This picks up a merge request which contains the fix.
These are listed in the pkg-config file so we need to propagate them for them to be found.
Also split outputs to avoid dev outputs of propagated dependencies in the closure.
Not sure if it will work since the certificates file is not present on MacOS AFAICT but it is needed for GTK 4 so 🤷♀️.
Also clean up the expression and correct license.
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.