lftp: 4.7.1 -> 4.7.3
This commit is contained in:
parent
0bb07f6d7b
commit
27750ac53a
@ -1,28 +1,32 @@
|
|||||||
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn }:
|
{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn, gmp, libiconv }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "lftp-4.7.1";
|
name = "lftp-4.7.3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
"http://lftp.yar.ru/ftp/${name}.tar.bz2"
|
||||||
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
"http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
|
||||||
];
|
];
|
||||||
sha256 = "0n4l0n6ra6z5lh6v79hc0r0hhrsq0l6c47ir15vmq80sbgc9mmwv";
|
sha256 = "06jmc9x86ga67yyx7655zv96gfv1gdm955a7g4afd3bwf6bzfxac";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ gnutls readline zlib libidn ];
|
buildInputs = [ gnutls readline zlib libidn gmp libiconv ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-readline=${readline.dev}"
|
"--with-readline=${readline.dev}"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace src/lftp_rl.c --replace 'history.h' 'readline/history.h'
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A file transfer program supporting a number of network protocols";
|
description = "A file transfer program supporting a number of network protocols";
|
||||||
homepage = http://lftp.yar.ru/;
|
homepage = http://lftp.yar.ru/;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
maintainers = [ maintainers.bjornfor ];
|
maintainers = [ maintainers.bjornfor ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user