diff --git a/pkgs/applications/networking/mailreaders/sylpheed-gtk2/default.nix b/pkgs/applications/networking/mailreaders/sylpheed-gtk2/default.nix new file mode 100644 index 000000000000..8996e14dc981 --- /dev/null +++ b/pkgs/applications/networking/mailreaders/sylpheed-gtk2/default.nix @@ -0,0 +1,23 @@ +{ sslSupport ? true +, stdenv, fetchurl, pkgconfig, gtk, glib, openssl ? null, gdkpixbuf ? null +}: + +assert sslSupport -> openssl != null; + +stdenv.mkDerivation { + name = "sylpheed-1.9.11"; + + src = fetchurl { + url = http://sylpheed.good-day.net/sylpheed/v1.9/sylpheed-1.9.11.tar.bz2; + md5 = "70191d0d98ea576b0d2e175055ced4c9"; + }; + + buildInputs = [ + pkgconfig glib gtk + (if sslSupport then openssl else null) + ]; + + configureFlags = [ + (if sslSupport then "--enable-ssl" else null) + ]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 7e2d4834a471..b09f05ce7a97 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -1087,6 +1087,12 @@ rec { imageSupport = true; }; + sylpheed_gtk2 = (import ../applications/networking/mailreaders/sylpheed-gtk2) { + inherit fetchurl stdenv pkgconfig openssl; + inherit (gtkLibs) glib gtk; + sslSupport = true; + }; + firefox = (import ../applications/networking/browsers/firefox) { inherit fetchurl stdenv pkgconfig perl zip; inherit (gtkLibs) gtk;