When testing #213831 internally we ran into a build failure caused by
that change for the `proj` package (on `x86_64-linux`). We're not sure
how that's possible, but the nature of the build failure was that the
network tests for the `proj` package were failing due to missing
certificates, so I fixed the build failure by adding `cacert` as a
test dependency.
It's still not clear (A) why the cert suddenly became necessary after
the change in #213831 or (B) why the build worked at all before, but
this is probably the right thing to do regardless because the test
suite does have a network component.
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
Add simple package test by running proj CLI tool.
This change also improves derivation overriding behavior by using
`finalAttrs` function.
Co-authored-by: Robert Scott <github@humanleg.org.uk>
Tests need access to writable home directory.
Also make the temporary directory (as searched by the tests) writable,
for completeness, although those tests seem to exit early when they
cannot write to the temporary directory without reaching an assert (and
thus without failing).
Fixes#146358
One of the tests had a Linux-based assumption on the number of files
that can be opened. I have submitted this patch upstream here,
https://github.com/OSGeo/PROJ/pull/2934, and it's been merged but I
don't expect to be able to update to a release before ZHF ends.
Fixes#142875
This reverts commit 25b20757e8
and adds an upstream patch. There are API changes
https://proj.org/development/migration.html
and I couldn't make some of the other packages build,
so I decided to just patch the test instead (for now).
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces