From 7e5de2061bd3319f5297bb64542221078826b25d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 26 May 2005 20:09:29 +0000 Subject: [PATCH] * Added Sylpheed 1.9.11 (beta for GTK 2). svn path=/nixpkgs/trunk/; revision=3149 --- .../mailreaders/sylpheed-gtk2/default.nix | 23 +++++++++++++++++++ pkgs/system/all-packages-generic.nix | 6 +++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/networking/mailreaders/sylpheed-gtk2/default.nix 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;