nixpkgs/pkgs/development/libraries/libgnurl/default.nix
Christian Ulrich 516681c872 libgnurl: 7.54.1 -> 7.61.1. (#48792)
* libgnurl: 7.54.1 -> 7.61.1.

- 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

* libgnurl: fix idn support; use mirror url; add http2 support
2018-10-23 22:33:17 +02:00

32 lines
833 B
Nix

{ stdenv, fetchurl, libtool, groff, perl, pkgconfig, python2, zlib, gnutls,
libidn2, libunistring, nghttp2 }:
stdenv.mkDerivation rec {
version = "7.61.1";
name = "libgnurl-${version}";
src = fetchurl {
url = "mirror://gnu/gnunet/gnurl-${version}.tar.gz";
sha256 = "0y56k15vp3m2r8q6mnc6ivflwq9lv6npdhbbvxxcf4r8vwjhv91q";
};
nativeBuildInputs = [ libtool groff perl pkgconfig python2 ];
buildInputs = [ gnutls zlib libidn2 libunistring nghttp2 ];
configureFlags = [
"--disable-ntlm-wb"
"--without-ca-bundle"
"--with-ca-fallback"
];
meta = with stdenv.lib; {
description = "A fork of libcurl used by GNUnet";
homepage = https://gnunet.org/gnurl;
maintainers = with maintainers; [ falsifian vrthra ];
platforms = platforms.linux;
license = licenses.curl;
};
}