mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
e0f8b5d722
svn path=/nixpkgs/trunk/; revision=674
28 lines
642 B
Nix
28 lines
642 B
Nix
{ 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.8a";
|
|
system = stdenv.system;
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://sylpheed.good-day.net/sylpheed/sylpheed-0.9.8a.tar.bz2;
|
|
md5 = "6ac823f06d8fe4f265f37d9c96068e05";
|
|
};
|
|
|
|
sslSupport = sslSupport;
|
|
imageSupport = imageSupport;
|
|
|
|
stdenv = stdenv;
|
|
gtk = gtk;
|
|
openssl = if sslSupport then openssl else null;
|
|
gdkpixbuf = if imageSupport then gdkpixbuf else null;
|
|
}
|