about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorRahul Gopinath <rahul@gopinath.org>2016-07-04 19:29:58 -0700
committerRahul Gopinath <rahul@gopinath.org>2016-07-04 19:30:04 -0700
commit01d9081cc348228659410aadb6052df53d10902e (patch)
tree569ca70e9ff62754769be718f780c6a8ea26b7a0 /pkgs
parent3919afbc628c6ab5e8805d839146c2edc24331e5 (diff)
gnurl: enable additional functionalities
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/libgnurl/default.nix14
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libgnurl/default.nix b/pkgs/development/libraries/libgnurl/default.nix
index f35447ff38c3c..943f276ed78d3 100644
--- a/pkgs/development/libraries/libgnurl/default.nix
+++ b/pkgs/development/libraries/libgnurl/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, perl }:
+{ stdenv, fetchurl, perl, zlib, gnutls, gss, openssl, libssh2, libidn, libpsl, openldap }:
 
 stdenv.mkDerivation rec {
   version = "7.48.0";
@@ -10,12 +10,22 @@ stdenv.mkDerivation rec {
     sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
   };
 
-  buildInputs = [ perl ];
+  buildInputs = [ perl gnutls gss openssl zlib libidn libssh2 libpsl openldap ];
 
   preConfigure = ''
     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; {
     description = "A fork of libcurl used by GNUnet";
     homepage    = https://gnunet.org/gnurl;