summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/sylpheed/default.nix
blob: cada3132e05203c0e8b5d4ee861d8a2c1f97da39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ sslSupport ? true
, imageSupport ? true
, stdenv, fetchurl, gtk, openssl ? null, gdkpixbuf ? null
}:

assert gtk != null;
assert sslSupport -> openssl != null;
assert imageSupport -> gdkpixbuf != null;

stdenv.mkDerivation {
  name = "sylpheed-1.0.0";

  builder = ./builder.sh;
  src = fetchurl {
    url = http://sylpheed.good-day.net/sylpheed/sylpheed-1.0.0.tar.bz2;
    md5 = "864c4fc581a5ab1c7af5e06153c76769";
  };

  inherit sslSupport imageSupport;

  inherit gtk;
  openssl = if sslSupport then openssl else null;
  gdkpixbuf = if imageSupport then gdkpixbuf else null;
}