summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/sylpheed/default.fix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/networking/mailreaders/sylpheed/default.fix')
-rw-r--r--pkgs/applications/networking/mailreaders/sylpheed/default.fix27
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.fix b/pkgs/applications/networking/mailreaders/sylpheed/default.fix
new file mode 100644
index 00000000000..c6e8cc066f8
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/sylpheed/default.fix
@@ -0,0 +1,27 @@
+{ sslSupport ? true
+, imageSupport ? true
+, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null
+}:
+
+assert !isNull gtk;
+assert sslSupport -> !isNull openssl;
+assert imageSupport -> !isNull gdkpixbuf;
+
+derivation {
+  name = "sylpheed-0.9.7";
+  system = stdenv.system;
+
+  builder = ./builder.sh;
+  src = fetchurl {
+    url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.7.tar.bz2;
+    md5 = "399deb5abd52396d26d6475689a5ec3f";
+  };
+
+  sslSupport = sslSupport;
+  imageSupport = imageSupport;
+
+  stdenv = stdenv;
+  gtk = gtk;
+  openssl = if sslSupport then openssl else null;
+  gdkpixbuf = if imageSupport then gdkpixbuf else null;
+}