2016-04-12 20:29:40 +02:00
|
|
|
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn }:
|
2011-06-14 00:14:06 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-04-12 20:29:40 +02:00
|
|
|
name = "lftp-4.7.1";
|
2007-08-04 14:40:45 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-16 02:30:03 +01:00
|
|
|
urls = [
|
|
|
|
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
|
|
|
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
|
|
|
];
|
2016-04-12 20:29:40 +02:00
|
|
|
sha256 = "0n4l0n6ra6z5lh6v79hc0r0hhrsq0l6c47ir15vmq80sbgc9mmwv";
|
2007-08-04 14:40:45 +02:00
|
|
|
};
|
|
|
|
|
2016-04-12 20:29:40 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gnutls readline zlib libidn ];
|
|
|
|
|
|
|
|
configureFlags = [
|
2016-08-23 02:35:54 +02:00
|
|
|
"--with-readline=${readline.dev}"
|
2016-04-12 20:29:40 +02:00
|
|
|
];
|
2013-01-28 14:12:29 +01:00
|
|
|
|
2014-04-13 22:23:23 +02:00
|
|
|
meta = with stdenv.lib; {
|
2013-01-28 14:12:29 +01:00
|
|
|
description = "A file transfer program supporting a number of network protocols";
|
2014-04-13 22:23:23 +02:00
|
|
|
homepage = http://lftp.yar.ru/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2013-01-28 14:12:29 +01:00
|
|
|
};
|
2007-08-04 14:40:45 +02:00
|
|
|
}
|