sylpheed: 3.5.1 -> 3.6.0
This commit is contained in:
parent
65774cb22e
commit
8d12c26e34
@ -1,38 +1,36 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gtk2
|
{ stdenv, fetchurl, pkgconfig, gtk2, openssl ? null, gpgme ? null
|
||||||
, openssl ? null
|
, gpgSupport ? true, sslSupport ? true }:
|
||||||
, gpgme ? null
|
|
||||||
, sslSupport ? true
|
assert gpgSupport -> gpgme != null;
|
||||||
, gpgSupport ? true
|
assert sslSupport -> openssl != null;
|
||||||
}:
|
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
assert sslSupport -> openssl != null;
|
|
||||||
assert gpgSupport -> gpgme != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sylpheed-${version}";
|
name = "sylpheed-${version}";
|
||||||
version = "3.5.1";
|
version = "3.6.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://sylpheed.sraoss.jp/sylpheed/v3.5/${name}.tar.bz2";
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.6/${name}.tar.bz2";
|
||||||
sha256 = "11qhbfyvi5hxv1f448zgbzgrdjj3a4mxj2bfpk6k4bqf7ahh8nis";
|
sha256 = "0idk9nz3d200l2bxc38vnxlx0wcslrvncy9lk50vz7dl8c5sg97b";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs =
|
|
||||||
[ gtk2 ]
|
|
||||||
++ optional sslSupport openssl
|
|
||||||
++ optional gpgSupport gpgme;
|
|
||||||
|
|
||||||
configureFlags = optional sslSupport "--enable-ssl"
|
buildInputs = [ gtk2 ]
|
||||||
++ optional gpgSupport "--enable-gpgme";
|
++ optionals gpgSupport [ gpgme ]
|
||||||
|
++ optionals sslSupport [ openssl ];
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
(optional gpgSupport "--enable-gpgme")
|
||||||
|
(optional sslSupport "--enable-ssl")
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://sylpheed.sraoss.jp/en/;
|
homepage = http://sylpheed.sraoss.jp/en/;
|
||||||
description = "A lightweight and user-friendly e-mail client";
|
description = "Lightweight and user-friendly e-mail client";
|
||||||
maintainers = [ maintainers.eelco ];
|
maintainers = with maintainers; [ eelco ];
|
||||||
platforms = platforms.linux ++ platforms.darwin;
|
platforms = platforms.linux ++ platforms.darwin;
|
||||||
license = "GPL";
|
license = licenses.gpl2;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user