diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-15 11:27:37 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-10-15 11:27:37 -0400 |
commit | 55aa7f0d6fc9ce37b818b185b3ce08185bbef68b (patch) | |
tree | aed3ca2f6c079cf7baa54c00afbc4942390e05d9 /pkgs/applications/networking/mailreaders/sylpheed/default.nix | |
parent | 873595ee6d7f1a890ca834cea7012ef50fc083dd (diff) |
sylpheed: Update to 3.2
http://hydra.nixos.org/build/3156892
Diffstat (limited to 'pkgs/applications/networking/mailreaders/sylpheed/default.nix')
-rw-r--r-- | pkgs/applications/networking/mailreaders/sylpheed/default.nix | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix index de0465622746..bf9e19642b83 100644 --- a/pkgs/applications/networking/mailreaders/sylpheed/default.nix +++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix @@ -5,25 +5,31 @@ , gpgme ? null }: +with stdenv.lib; + assert sslSupport -> openssl != null; assert gpgSupport -> gpgme != null; stdenv.mkDerivation { - name = "sylpheed-2.7.1"; + name = "sylpheed-3.2"; src = fetchurl { - url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2; - sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb"; + url = http://sylpheed.sraoss.jp/sylpheed/v3.2/sylpheed-3.2.0.tar.bz2; + sha256 = "1cdjwn1f8rgcxzfxj7j7qvacmaw4zfhnip81q4n5lj5d6rj7rssa"; }; - buildInputs = [ - pkgconfig gtk - (if sslSupport then openssl else null) - (if gpgSupport then gpgme else null) - ]; + buildInputs = + [ pkgconfig gtk ] + ++ optional sslSupport openssl + ++ optional gpgSupport gpgme; - configureFlags = [ - (if sslSupport then "--enable-ssl" else null) - ]; + configureFlags = optionalString sslSupport "--enable-ssl"; + meta = { + homepage = http://sylpheed.sraoss.jp/en/; + description = "A lightweight and user-friendly e-mail client"; + maintainers = [ maintainers.eelco ]; + platforms = platforms.linux; + license = "GPL"; + }; } |