3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking/mailreaders/sylpheed/default.nix

35 lines
951 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, gtk2, openssl ? null, gpgme ? null
2018-01-11 14:04:44 +00:00
, gpgSupport ? true, sslSupport ? true }:
assert gpgSupport -> gpgme != null;
2018-01-11 14:04:44 +00:00
assert sslSupport -> openssl != null;
2021-01-15 05:42:41 +00:00
with lib;
2016-04-29 03:36:42 +01:00
stdenv.mkDerivation rec {
pname = "sylpheed";
version = "3.7.0";
src = fetchurl {
url = "https://sylpheed.sraoss.jp/sylpheed/v3.7/${pname}-${version}.tar.xz";
sha256 = "0j9y5vdzch251s264diw9clrn88dn20bqqkwfmis9l7m8vmwasqd";
};
nativeBuildInputs = [ pkg-config ];
2018-01-11 14:04:44 +00:00
buildInputs = [ gtk2 ]
++ optionals gpgSupport [ gpgme ]
++ optionals sslSupport [ openssl ];
configureFlags = optional gpgSupport "--enable-gpgme"
++ optional sslSupport "--enable-ssl";
meta = {
homepage = "https://sylpheed.sraoss.jp/en/";
2018-01-11 14:04:44 +00:00
description = "Lightweight and user-friendly e-mail client";
maintainers = with maintainers; [ eelco ];
2017-04-22 00:05:32 +01:00
platforms = platforms.linux ++ platforms.darwin;
2018-01-11 14:04:44 +00:00
license = licenses.gpl2;
};
}