git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19808 from vbgl/lftp-4.7.3

lftp: 4.7.1 -> 4.7.3

commit8f457026ad095d44ad424fb25ddda5c45ac89794 authorTim Steinbach <NeQuissimus@users.noreply.github.com> dateSun 23 Oct 2016, 20:55 (10 years ago) parentec6ed5827750ac
1 file changed+9−5
pkgs/tools/networking/lftp/default.nix+9−5
pkgs/tools/networking/lftp/default.nix+9−5
@@ -1,28 +1,32 @@
1−{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn }:
1+{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn, gmp, libiconv }:
22
33stdenv.mkDerivation rec {
4− name = "lftp-4.7.1";
4+ name = "lftp-4.7.3";
55
66 src = fetchurl {
77 urls = [
88 "http://lftp.yar.ru/ftp/${name}.tar.bz2"
99 "http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
1010 ];
11− sha256 = "0n4l0n6ra6z5lh6v79hc0r0hhrsq0l6c47ir15vmq80sbgc9mmwv";
11+ sha256 = "06jmc9x86ga67yyx7655zv96gfv1gdm955a7g4afd3bwf6bzfxac";
1212 };
1313
1414 nativeBuildInputs = [ pkgconfig ];
15− buildInputs = [ gnutls readline zlib libidn ];
15+ buildInputs = [ gnutls readline zlib libidn gmp libiconv ];
1616
1717 configureFlags = [
1818 "--with-readline=${readline.dev}"
1919 ];
2020
21+ postPatch = ''
22+ substituteInPlace src/lftp_rl.c --replace 'history.h' 'readline/history.h'
23+ '';
24+
2125 meta = with stdenv.lib; {
2226 description = "A file transfer program supporting a number of network protocols";
2327 homepage = http://lftp.yar.ru/;
2428 license = licenses.gpl3;
25− platforms = platforms.linux;
29+ platforms = platforms.unix;
2630 maintainers = [ maintainers.bjornfor ];
2731 };
2832}