2014-06-23 15:38:05 +01:00
|
|
|
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib }:
|
2011-06-13 23:14:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-11-16 07:53:14 +00:00
|
|
|
name = "lftp-4.6.0";
|
2007-08-04 13:40:45 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-16 01:30:03 +00:00
|
|
|
urls = [
|
|
|
|
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
|
|
|
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
|
|
|
];
|
2014-11-16 07:53:14 +00:00
|
|
|
sha256 = "1liry2icaqyn9zlp7w6sykp3nyqsn172xnqglhvr6awz23r3b1fr";
|
2007-08-04 13:40:45 +01:00
|
|
|
};
|
|
|
|
|
2013-01-28 13:12:29 +00:00
|
|
|
patches = [ ./no-gets.patch ];
|
|
|
|
|
|
|
|
buildInputs = [ gnutls pkgconfig readline zlib ];
|
|
|
|
|
2014-04-13 21:23:23 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-01-28 13:12:29 +00:00
|
|
|
description = "A file transfer program supporting a number of network protocols";
|
2014-04-13 21:23:23 +01:00
|
|
|
homepage = http://lftp.yar.ru/;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
2013-01-28 13:12:29 +00:00
|
|
|
};
|
2007-08-04 13:40:45 +01:00
|
|
|
}
|