parent
873595ee6d
commit
55aa7f0d6f
1 changed files with 17 additions and 11 deletions
|
@ -5,25 +5,31 @@
|
||||||
, gpgme ? null
|
, gpgme ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
with stdenv.lib;
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
assert sslSupport -> openssl != null;
|
||||||
assert gpgSupport -> gpgme != null;
|
assert gpgSupport -> gpgme != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sylpheed-2.7.1";
|
name = "sylpheed-3.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://sylpheed.sraoss.jp/sylpheed/v2.7/sylpheed-2.7.1.tar.bz2;
|
url = http://sylpheed.sraoss.jp/sylpheed/v3.2/sylpheed-3.2.0.tar.bz2;
|
||||||
sha256 = "08sfz159y8hi3lky98m6p4nkfiima749lza8gf3s3vp2niylbdlb";
|
sha256 = "1cdjwn1f8rgcxzfxj7j7qvacmaw4zfhnip81q4n5lj5d6rj7rssa";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs =
|
||||||
pkgconfig gtk
|
[ pkgconfig gtk ]
|
||||||
(if sslSupport then openssl else null)
|
++ optional sslSupport openssl
|
||||||
(if gpgSupport then gpgme else null)
|
++ optional gpgSupport gpgme;
|
||||||
];
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = optionalString sslSupport "--enable-ssl";
|
||||||
(if sslSupport then "--enable-ssl" else null)
|
|
||||||
];
|
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://sylpheed.sraoss.jp/en/;
|
||||||
|
description = "A lightweight and user-friendly e-mail client";
|
||||||
|
maintainers = [ maintainers.eelco ];
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = "GPL";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue