nixpkgs/pkgs/tools/networking/lftp/default.nix

29 lines
745 B
Nix
Raw Normal View History

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