summary refs log tree commit diff
path: root/pkgs/tools/networking/lftp
diff options
context:
space:
mode:
authorRenaud <c0bw3b@users.noreply.github.com>2017-03-06 21:35:16 +0100
committerFranz Pletz <fpletz@fnordicwalking.de>2017-03-06 22:06:43 +0100
commit9256383bc2ee599794e3703a1f811ecf15ac6d89 (patch)
tree88105b8d7597fd1d2110d68a514f93063428ebb5 /pkgs/tools/networking/lftp
parent46ba5acd822e813418483e7975357c7b5e8586c4 (diff)
downloadnixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar.gz
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar.bz2
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar.lz
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar.xz
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.tar.zst
nixpkgs-9256383bc2ee599794e3703a1f811ecf15ac6d89.zip
lftp: 4.7.3 -> 4.7.6
Package update : minor updates and fixes 
See http://lftp.tech/news.html
Diffstat (limited to 'pkgs/tools/networking/lftp')
-rw-r--r--pkgs/tools/networking/lftp/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/networking/lftp/default.nix b/pkgs/tools/networking/lftp/default.nix
index d7b7fcb2fdc..d6ae4a0e5a9 100644
--- a/pkgs/tools/networking/lftp/default.nix
+++ b/pkgs/tools/networking/lftp/default.nix
@@ -1,14 +1,16 @@
 { stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn, gmp, libiconv }:
 
 stdenv.mkDerivation rec {
-  name = "lftp-4.7.3";
+  name = "lftp-${version}";
+  version = "4.7.6";
 
   src = fetchurl {
     urls = [
-      "http://lftp.yar.ru/ftp/${name}.tar.bz2"
+      "https://lftp.tech/ftp/${name}.tar.bz2"
+      "ftp://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/${name}.tar.bz2"
       "http://lftp.yar.ru/ftp/old/${name}.tar.bz2"
       ];
-    sha256 = "06jmc9x86ga67yyx7655zv96gfv1gdm955a7g4afd3bwf6bzfxac";
+    sha256 = "6b46389e9c2e67af9029a783806facea4c8f0b4d6adca5c1088e948d2fd68ae7";
   };
 
   nativeBuildInputs = [ pkgconfig ];
@@ -18,13 +20,11 @@ stdenv.mkDerivation rec {
     "--with-readline=${readline.dev}"
   ];
 
-  postPatch = ''
-    substituteInPlace src/lftp_rl.c --replace 'history.h' 'readline/history.h'
-  '';
+  installFlags = [ "PREFIX=$(out)" ];
 
   meta = with stdenv.lib; {
     description = "A file transfer program supporting a number of network protocols";
-    homepage = http://lftp.yar.ru/;
+    homepage = http://lftp.tech/;
     license = licenses.gpl3;
     platforms = platforms.unix;
     maintainers = [ maintainers.bjornfor ];