2017-07-29 01:44:00 +02:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, perl, zlib, gnutls, gss, openssl
|
|
|
|
, libssh2, libidn, libpsl, openldap }:
|
2014-04-28 07:20:37 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-07-29 01:44:00 +02:00
|
|
|
version = "7.54.1";
|
2014-04-28 07:20:37 +02:00
|
|
|
|
|
|
|
name = "libgnurl-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-07-29 01:44:00 +02:00
|
|
|
url = "https://gnunet.org/sites/default/files/gnurl-${version}.tar.bz2";
|
|
|
|
sha256 = "0szbj352h95sgc9kbx9wzkgjksmg3g5k6cvlc7hz3wrbdh5gb0a4";
|
2014-04-28 07:20:37 +02:00
|
|
|
};
|
|
|
|
|
2017-07-29 01:44:00 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
2016-07-05 04:29:58 +02:00
|
|
|
buildInputs = [ perl gnutls gss openssl zlib libidn libssh2 libpsl openldap ];
|
2016-07-05 02:51:28 +02:00
|
|
|
|
2014-04-28 07:20:37 +02:00
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
|
|
|
|
'';
|
|
|
|
|
2016-07-05 04:29:58 +02:00
|
|
|
configureFlags = [
|
|
|
|
"--with-zlib"
|
|
|
|
"--with-gssapi"
|
|
|
|
"--with-libssh2"
|
|
|
|
"--with-libidn"
|
|
|
|
"--with-libpsl"
|
|
|
|
"--enable-ldap"
|
|
|
|
"--enable-ldaps"
|
|
|
|
];
|
|
|
|
|
2014-04-28 07:20:37 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A fork of libcurl used by GNUnet";
|
|
|
|
homepage = https://gnunet.org/gnurl;
|
2016-07-05 02:51:28 +02:00
|
|
|
maintainers = with maintainers; [ falsifian vrthra ];
|
2016-08-02 16:50:15 +02:00
|
|
|
platforms = platforms.linux;
|
2014-04-28 07:20:37 +02:00
|
|
|
};
|
|
|
|
}
|