1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 23:10:02 +00:00
nixpkgs/pkgs/applications/networking/mailreaders/sylpheed/default.nix
Eelco Dolstra 50d826abea * Sylpheed updated to 1.0.0. Also fixed OpenSSL support.
svn path=/nixpkgs/trunk/; revision=1986
2005-01-03 20:22:48 +00:00

25 lines
583 B
Nix

{ 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;
}