gnurl: enable additional functionalities
This commit is contained in:
parent
3919afbc62
commit
01d9081cc3
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, perl }:
|
{ stdenv, fetchurl, perl, zlib, gnutls, gss, openssl, libssh2, libidn, libpsl, openldap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "7.48.0";
|
version = "7.48.0";
|
||||||
@ -10,12 +10,22 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
|
sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ perl ];
|
buildInputs = [ perl gnutls gss openssl zlib libidn libssh2 libpsl openldap ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
|
sed -e 's|/usr/bin|/no-such-path|g' -i.bak configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--with-zlib"
|
||||||
|
"--with-gssapi"
|
||||||
|
"--with-libssh2"
|
||||||
|
"--with-libidn"
|
||||||
|
"--with-libpsl"
|
||||||
|
"--enable-ldap"
|
||||||
|
"--enable-ldaps"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A fork of libcurl used by GNUnet";
|
description = "A fork of libcurl used by GNUnet";
|
||||||
homepage = https://gnunet.org/gnurl;
|
homepage = https://gnunet.org/gnurl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user