mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
37 lines
924 B
Nix
37 lines
924 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, autoreconfHook
|
|
, gettext
|
|
, gnutls
|
|
, nettle
|
|
, pkg-config
|
|
, libiconv
|
|
, libxcrypt
|
|
, ApplicationServices
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libfilezilla";
|
|
version = "0.39.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://download.filezilla-project.org/${pname}/${pname}-${version}.tar.bz2";
|
|
hash = "sha256-89bA3yjzP1LPJTywP8UVeXUq5NrvKqxzRaa9feYjpsU=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ gettext gnutls nettle libxcrypt ]
|
|
++ lib.optionals stdenv.isDarwin [ libiconv ApplicationServices ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = with 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 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|