summary refs log tree commit diff
path: root/pkgs/tools/networking/lftp/default.nix
blob: 2bc575bbd02b5200b3990b9dafffb01b41aa7ba1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, xz }:

stdenv.mkDerivation rec {
  name = "lftp-4.4.5";

  src = fetchurl {
    url = "ftp://ftp.tuwien.ac.at/infosys/browsers/ftp/lftp/${name}.tar.xz";
    sha256 = "1p3nxsd2an9pdwc3vgwxy8p5nnjrc7mhilikjaddy62cyvxdbpxq";
  };

  patches = [ ./no-gets.patch ];

  buildInputs = [ gnutls pkgconfig readline zlib ];

  meta = {
    homepage = http://lftp.yar.ru/;
    description = "A file transfer program supporting a number of network protocols";
    license = "GPL";
  };
}