commit
c51ac275b8
1 changed files with 17 additions and 5 deletions
|
@ -1,23 +1,35 @@
|
||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, perl, zlib, gnutls, gss, openssl, libssh2, libidn, libpsl, openldap }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "7.35.0";
|
version = "7.48.0";
|
||||||
|
|
||||||
name = "libgnurl-${version}";
|
name = "libgnurl-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://gnunet.org/sites/default/files/gnurl-${version}.tar.bz2";
|
url = "https://gnunet.org/sites/default/files/gnurl-7_48_0.tar.bz2";
|
||||||
sha256 = "0dzj22f5z6ppjj1aq1bml64iwbzzcd8w1qy3bgpk6gnzqslsxknf";
|
sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
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;
|
||||||
maintainers = with maintainers; [ falsifian ];
|
maintainers = with maintainers; [ falsifian vrthra ];
|
||||||
hydraPlatforms = platforms.linux;
|
hydraPlatforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue