diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-05-06 08:22:27 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-05-06 08:22:27 +0200 |
commit | e8d3c1579bf7e773270e208bc489d193cdf37243 (patch) | |
tree | a3612d14ea5ec0d14ec1cee7304c3a2ae7928bfd /pkgs/applications | |
parent | 1906fc5bd10a7bbab35136325fa3251a043361b2 (diff) | |
parent | b0f49529ddc6fef2da2eb6388b6bb5c640290f2a (diff) | |
download | nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar.gz nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar.bz2 nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar.lz nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar.xz nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.tar.zst nixlib-e8d3c1579bf7e773270e208bc489d193cdf37243.zip |
Merge branch 'staging' into staging-next
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/ftp/filezilla/default.nix | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/applications/networking/ftp/filezilla/default.nix b/pkgs/applications/networking/ftp/filezilla/default.nix index 8bb38230d5c1..780385b28f31 100644 --- a/pkgs/applications/networking/ftp/filezilla/default.nix +++ b/pkgs/applications/networking/ftp/filezilla/default.nix @@ -1,10 +1,8 @@ { stdenv , fetchurl - , dbus , gettext , gnutls -, gtk2 , libfilezilla , libidn , nettle @@ -16,33 +14,46 @@ , xdg_utils }: +let + # we can drop this when wxgtk is built with gtk3 by default + # see: https://github.com/NixOS/nixpkgs/pull/73145 + wxgtk' = wxGTK30.override { compat26 = false; withGtk2 = false; }; + +in stdenv.mkDerivation rec { pname = "filezilla"; - version = "3.46.3"; + version = "3.48.0"; src = fetchurl { url = "https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2"; - sha256 = "15bkg9qs07h4pzkxba1gymp8f264dk0zrzd9brx48fcwm7qbzigi"; + sha256 = "0msxl8ihbycd56hmn1q8sl1gzmsxc7j8ar9k4zsryd0ayyz7wv05"; }; + # 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 = [ pkgconfig ]; + buildInputs = [ dbus gettext gnutls - gtk2 libfilezilla libidn nettle pugixml sqlite tinyxml - wxGTK30 + wxgtk' + wxgtk'.gtk xdg_utils ]; |