New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libgnurl: 7.54.1 -> 7.61.1. #48792
libgnurl: 7.54.1 -> 7.61.1. #48792
Conversation
- fetch url updated (the mirror on gnunet.org seems no longer maintained). - most configure flags are not needed anymore since version 7.56.1 as announced in the README - flags -- without-ca-bundle and --with-ca-fallback are needed for finding the CA certificates - dependencies updated (copied from the guix package) - license corrected
''; | ||
nativeBuildInputs = [ libtool groff perl pkgconfig python2 ]; | ||
|
||
buildInputs = [ gnutls zlib libidn ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like IDN support doesn't work with libidn
anymore, see the configure log. You need libidn2
instead (and this requires libunistring
as well).
Also I suggest to add nghttp2
here to enable HTTP2 support.
|
||
name = "libgnurl-${version}"; | ||
|
||
src = fetchurl { | ||
url = "https://gnunet.org/sites/default/files/gnurl-${version}.tar.bz2"; | ||
sha256 = "0szbj352h95sgc9kbx9wzkgjksmg3g5k6cvlc7hz3wrbdh5gb0a4"; | ||
url = "https://ftp.gnu.org/gnu/gnunet/gnurl-${version}.tar.gz"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use url = "mirror://gnu/gnunet/..."
here. This automatically uses a mirror list provided in nixpkgs, see here.
Fixed as you suggested. |
@GrahamcOfBorg build libgnurl |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: libgnurl Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: libgnurl Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: libgnurl Partial log (click to expand)
|
@GrahamcOfBorg build gnunet |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: gnunet Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: gnunet Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: gnunet Partial log (click to expand)
|
Motivation for this change
Bump to the latest version of libgnurl. In the previous version of the package HTTPS support was not compiled in.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)