nixpkgs-gnunet/pkgs/libgnurl/default.nix

32 lines
874 B
Nix

{ stdenv, fetchurl, libtool, groff, perl, pkgconfig, python2, zlib, gnutls,
libidn2, libunistring, nghttp2, autoreconfHook }:
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 autoreconfHook ];
propagatedBuildInputs = [ 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;
};
}