mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
lftp: 4.7.3 -> 4.7.6
Package update : minor updates and fixes See http://lftp.tech/news.html
This commit is contained in:
parent
46ba5acd82
commit
9256383bc2
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user