nixpkgs/pkgs/tools/networking/lftp/default.nix
R. RyanTM 54b14db807 lftp: 4.8.3 -> 4.8.4
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/lftp/versions.
2018-08-09 00:33:45 +02:00

35 lines
1,018 B
Nix

{ stdenv, fetchurl, gnutls, pkgconfig, readline, zlib, libidn2, gmp, libiconv, libunistring, gettext }:
stdenv.mkDerivation rec {
name = "lftp-${version}";
version = "4.8.4";
src = fetchurl {
urls = [
"https://lftp.tech/ftp/${name}.tar.xz"
"https://ftp.st.ryukoku.ac.jp/pub/network/ftp/lftp/${name}.tar.xz"
"https://lftp.yar.ru/ftp/${name}.tar.xz"
];
sha256 = "0qks22357xv9y6ripmf5j2n5svh8j5z0yniphfk89sjwkqg2gg2f";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gnutls readline zlib libidn2 gmp libiconv libunistring gettext ];
hardeningDisable = stdenv.lib.optional stdenv.isDarwin "format";
configureFlags = [
"--with-readline=${readline.dev}"
];
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
description = "A file transfer program supporting a number of network protocols";
homepage = https://lftp.tech/;
license = licenses.gpl3;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};
}