2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
2020-09-25 04:45:31 +00:00
|
|
|
, autoreconfHook
|
2020-04-24 23:36:52 +00:00
|
|
|
, gettext
|
|
|
|
, gnutls
|
|
|
|
, nettle
|
|
|
|
, pkgconfig
|
2020-08-20 17:08:02 +00:00
|
|
|
, libiconv
|
|
|
|
, ApplicationServices
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libfilezilla";
|
2020-11-06 00:33:48 +00:00
|
|
|
version = "0.25.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
|
2020-11-06 00:33:48 +00:00
|
|
|
sha256 = "0akvki7n5rwmc52wss25i3h4nwl935flhjypf8dx3lvf4jszxxiv";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
2020-05-15 21:57:56 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
buildInputs = [ gettext gnutls nettle ]
|
|
|
|
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-15 21:57:56 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://lib.filezilla-project.org/";
|
|
|
|
description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
2020-08-20 17:08:02 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|