at 18.03-beta 37 lines 1.3 kB view raw
1{ stdenv, fetchurl, autoreconfHook, perl, zlib, gnutls, gss, openssl 2, libidn }: 3 4stdenv.mkDerivation rec { 5 version = "7.54.1"; 6 7 name = "libgnurl-${version}"; 8 9 src = fetchurl { 10 url = "https://gnunet.org/sites/default/files/gnurl-${version}.tar.bz2"; 11 sha256 = "0szbj352h95sgc9kbx9wzkgjksmg3g5k6cvlc7hz3wrbdh5gb0a4"; 12 }; 13 14 nativeBuildInputs = [ autoreconfHook ]; 15 buildInputs = [ perl gnutls gss openssl zlib libidn ]; 16 17 preConfigure = '' 18 sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure 19 ''; 20 21 configureFlags = [ 22 "--enable-ipv6" "--with-gnutls" "--without-libmetalink" "--without-winidn" 23 "--without-librtmp" "--without-nghttp2" "--without-nss" "--without-cyassl" 24 "--without-polarssl" "--without-ssl" "--without-winssl" 25 "--without-darwinssl" "--disable-sspi" "--disable-ntlm-wb" "--disable-ldap" 26 "--disable-rtsp" "--disable-dict" "--disable-telnet" "--disable-tftp" 27 "--disable-pop3" "--disable-imap" "--disable-smtp" "--disable-gopher" 28 "--disable-file" "--disable-ftp" "--disable-smb" 29 ]; 30 31 meta = with stdenv.lib; { 32 description = "A fork of libcurl used by GNUnet"; 33 homepage = https://gnunet.org/gnurl; 34 maintainers = with maintainers; [ falsifian vrthra ]; 35 platforms = platforms.linux; 36 }; 37}