diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/networking/ftp')
-rw-r--r-- | nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix | 70 | ||||
-rw-r--r-- | nixpkgs/pkgs/applications/networking/ftp/taxi/default.nix | 51 |
2 files changed, 121 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix b/nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix new file mode 100644 index 000000000000..877cdec4ca8d --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/ftp/filezilla/default.nix @@ -0,0 +1,70 @@ +{ lib, stdenv +, fetchurl +, autoreconfHook +, dbus +, gettext +, gnutls +, libfilezilla +, libidn +, nettle +, pkg-config +, pugixml +, sqlite +, tinyxml +, wxGTK30-gtk3 +, xdg-utils +}: + +stdenv.mkDerivation rec { + pname = "filezilla"; + version = "3.51.0"; + + src = fetchurl { + url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2"; + sha256 = "0k3c7gm16snc6dr9a3xgq14ajyqj4hxcrd6hk6jk5fsi9x51rgl2"; + }; + + # https://www.linuxquestions.org/questions/slackware-14/trouble-building-filezilla-3-47-2-1-current-4175671182/#post6099769 + postPatch = '' + sed -i src/interface/Mainfrm.h \ + -e '/^#define/a #include <list>' + ''; + + configureFlags = [ + "--disable-manualupdatecheck" + "--disable-autoupdatecheck" + ]; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + buildInputs = [ + dbus + gettext + gnutls + libfilezilla + libidn + nettle + pugixml + sqlite + tinyxml + wxGTK30-gtk3 + wxGTK30-gtk3.gtk + xdg-utils + ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://filezilla-project.org/"; + description = "Graphical FTP, FTPS and SFTP client"; + longDescription = '' + FileZilla Client is a free, open source FTP client. It supports + FTP, SFTP, and FTPS (FTP over SSL/TLS). The client is available + under many platforms, binaries for Windows, Linux and macOS are + provided. + ''; + license = licenses.gpl2; + platforms = platforms.linux; + maintainers = with maintainers; [ pSub ]; + }; +} diff --git a/nixpkgs/pkgs/applications/networking/ftp/taxi/default.nix b/nixpkgs/pkgs/applications/networking/ftp/taxi/default.nix new file mode 100644 index 000000000000..a359bf3a7c0c --- /dev/null +++ b/nixpkgs/pkgs/applications/networking/ftp/taxi/default.nix @@ -0,0 +1,51 @@ +{ lib, stdenv, fetchFromGitHub, nix-update-script, pantheon, pkg-config, meson, ninja, python3, vala +, gtk3, libgee, libsoup, libsecret, gobject-introspection, wrapGAppsHook }: + +stdenv.mkDerivation rec { + pname = "taxi"; + version = "0.0.1"; + + src = fetchFromGitHub { + owner = "Alecaddd"; + repo = pname; + rev = "v${version}"; + sha256 = "01c552w68576pnsyqbwy3hjhbww6vys3r3s0wxjdiscjqj1aawqg"; + }; + + nativeBuildInputs = [ + vala + gobject-introspection + meson + ninja + pkg-config + python3 + wrapGAppsHook + ]; + + buildInputs = [ + pantheon.granite + libgee + gtk3 + libsecret + libsoup + ]; + + postPatch = '' + chmod +x meson/post_install.py + patchShebangs meson/post_install.py + ''; + + passthru = { + updateScript = nix-update-script { + attrPath = pname; + }; + }; + + meta = with lib; { + description = "The FTP Client that drives you anywhere"; + homepage = "https://github.com/Alecaddd/taxi"; + license = licenses.gpl3Plus; + maintainers = with maintainers; [ worldofpeace ]; + platforms = platforms.linux; + }; +} |