2019-07-11 09:27:29 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2020-09-09 10:22:17 +01:00
|
|
|
, autoreconfHook
|
2019-07-11 09:27:29 +01:00
|
|
|
, gettext
|
|
|
|
, gnutls
|
|
|
|
, nettle
|
|
|
|
, pkgconfig
|
2020-07-19 10:20:00 +01:00
|
|
|
, libiconv
|
|
|
|
, ApplicationServices
|
2019-07-11 09:27:29 +01:00
|
|
|
}:
|
2016-02-19 21:48:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-31 02:18:05 +01:00
|
|
|
pname = "libfilezilla";
|
2020-11-02 23:19:49 +00:00
|
|
|
version = "0.25.0";
|
2016-02-19 21:48:42 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-05-31 02:18:05 +01:00
|
|
|
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
|
2020-11-02 23:19:49 +00:00
|
|
|
sha256 = "0akvki7n5rwmc52wss25i3h4nwl935flhjypf8dx3lvf4jszxxiv";
|
2016-02-19 21:48:42 +00:00
|
|
|
};
|
|
|
|
|
2020-09-09 10:22:17 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2020-04-28 15:46:22 +01:00
|
|
|
|
2020-07-19 10:20:00 +01:00
|
|
|
buildInputs = [ gettext gnutls nettle ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
2019-05-31 02:18:05 +01:00
|
|
|
|
2020-04-28 15:46:22 +01:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-02-19 21:48:42 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-07-11 09:27:29 +01: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 10:20:00 +01:00
|
|
|
platforms = platforms.unix;
|
2016-02-19 21:48:42 +00:00
|
|
|
};
|
|
|
|
}
|