From 9256383bc2ee599794e3703a1f811ecf15ac6d89 Mon Sep 17 00:00:00 2001 From: Renaud Date: Mon, 6 Mar 2017 21:35:16 +0100 Subject: [PATCH] lftp: 4.7.3 -> 4.7.6 Package update : minor updates and fixes See http://lftp.tech/news.html --- pkgs/tools/networking/lftp/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/networking/lftp/default.nix b/pkgs/tools/networking/lftp/default.nix index d7b7fcb2fdc0..d6ae4a0e5a94 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 ];