nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv
2, fetchurl
3
4, gettext
5, gnutls
6, nettle
7, pkgconfig
8, libiconv
9, ApplicationServices
10}:
11
12stdenv.mkDerivation rec {
13 pname = "libfilezilla";
14 version = "0.24.0";
15
16 src = fetchurl {
17 url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
18 sha256 = "1372i9f501kn8p1vkqdydaqvvi6lzxsnw2yzyxx5j4syqd4p0qa5";
19 };
20
21 nativeBuildInputs = [ pkgconfig ];
22
23 buildInputs = [ gettext gnutls nettle ]
24 ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
25
26 enableParallelBuilding = true;
27
28 meta = with stdenv.lib; {
29 homepage = "https://lib.filezilla-project.org/";
30 description = "A modern C++ library, offering some basic functionality to build high-performing, platform-independent programs";
31 license = licenses.gpl2Plus;
32 maintainers = with maintainers; [ pSub ];
33 platforms = platforms.unix;
34 };
35}