{stdenv, fetchurl, readline}:
stdenv.mkDerivation {
  name = "lftp-3.5.14";

  src = fetchurl {
    url = ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-3.5.14.tar.bz2;
    sha256 = "0hzrbhpgvndpd4wd08whfv1iqzbcijs1nxz40rhn651xabhiasrv";
  };

  buildInputs = [readline];
}

{stdenv, fetchurl, gnutls, libtasn1, pkgconfig, readline, zlib}:
stdenv.mkDerivation {
  name = "lftp-4.1.3";

  src = fetchurl {
    url = ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-4.1.3.tar.bz2;
    sha256 = "1nbgbql8kkhdvai0glwgkq8l9ik09l5lb8znpjrv26hfzl15dvv1";
  };

  buildInputs = [gnutls libtasn1 pkgconfig readline zlib];
}

Advance lftp to current release version 4.1.3
Advance lftp to current release version 4.1.3

svn path=/nixpkgs/trunk/; revision=25912
