mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 17:10:48 +00:00
1bf5ded193
In all of these files, there is no meta.platforms but only meta.hydraPlatforms, which doesn't seem to have any purpose except being inconsistent.
36 lines
898 B
Nix
36 lines
898 B
Nix
{ stdenv, fetchurl, perl, zlib, gnutls, gss, openssl, libssh2, libidn, libpsl, openldap }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "7.48.0";
|
|
|
|
name = "libgnurl-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://gnunet.org/sites/default/files/gnurl-7_48_0.tar.bz2";
|
|
sha256 = "14gch4rdibrc8qs4mijsczxvl45dsclf234g17dk6c8nc2s4bm0a";
|
|
};
|
|
|
|
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;
|
|
maintainers = with maintainers; [ falsifian vrthra ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|