2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-07-11 08:27:29 +00:00
|
|
|
, fetchurl
|
2020-09-09 09:22:17 +00:00
|
|
|
, autoreconfHook
|
2019-07-11 08:27:29 +00:00
|
|
|
, gettext
|
|
|
|
, gnutls
|
|
|
|
, nettle
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2020-07-19 09:20:00 +00:00
|
|
|
, libiconv
|
|
|
|
, ApplicationServices
|
2019-07-11 08:27:29 +00:00
|
|
|
}:
|
2016-02-19 21:48:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-31 01:18:05 +00:00
|
|
|
pname = "libfilezilla";
|
2021-01-20 01:23:40 +00:00
|
|
|
version = "0.26.0";
|
2016-02-19 21:48:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-05-31 01:18:05 +00:00
|
|
|
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
|
2021-01-20 01:23:40 +00:00
|
|
|
sha256 = "sha256-F+0iZZPo5GbOPD+M5YOzbHnxYxierVTWMWE8w9pcgL0=";
|
2016-02-19 21:48:42 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2020-04-28 14:46:22 +00:00
|
|
|
|
2020-07-19 09:20:00 +00:00
|
|
|
buildInputs = [ gettext gnutls nettle ]
|
2021-01-21 17:00:13 +00:00
|
|
|
++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
2019-05-31 01:18:05 +00:00
|
|
|
|
2020-04-28 14:46:22 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-07-11 08:27:29 +00:00
|
|
|
homepage = "https://lib.filezilla-project.org/";
|
2016-02-19 21:48:42 +00:00
|
|
|
description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2020-07-19 09:20:00 +00:00
|
|
|
platforms = platforms.unix;
|
2016-02-19 21:48:42 +00:00
|
|
|
};
|
|
|
|
}
|