mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 00:22:13 +00:00
0008a4b6c4
vcunat fixed eval and tested it runs.
38 lines
858 B
Nix
38 lines
858 B
Nix
{ sslSupport ? true
|
|
, gpgSupport ? false
|
|
, stdenv, fetchurl, pkgconfig, gtk
|
|
, openssl ? null
|
|
, gpgme ? null
|
|
}:
|
|
|
|
with stdenv.lib;
|
|
|
|
assert sslSupport -> openssl != null;
|
|
assert gpgSupport -> gpgme != null;
|
|
|
|
let version = "3.4.1"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "sylpheed-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.4/sylpheed-${version}.tar.bz2";
|
|
sha256 = "11wpifvn8a0p4dqmvi7r61imqkgm6rjjp3h057c344vny37livbx";
|
|
};
|
|
|
|
buildInputs =
|
|
[ pkgconfig gtk ]
|
|
++ optional sslSupport openssl
|
|
++ optional gpgSupport gpgme;
|
|
|
|
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";
|
|
};
|
|
}
|