mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 07:26:54 +00:00
904330cb84
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. This update was made based on information from https://repology.org/metapackage/sylpheed/versions. These checks were done: - built on NixOS - ran `/nix/store/h2523jz7ladr0j6m3v6a0x45ak0z9iq8-sylpheed-3.7.0/bin/sylpheed --version` and found version 3.7.0 - found 3.7.0 with grep in /nix/store/h2523jz7ladr0j6m3v6a0x45ak0z9iq8-sylpheed-3.7.0 - directory tree listing: https://gist.github.com/8f404aeeccf14771245b2a25b3a1231e
37 lines
956 B
Nix
37 lines
956 B
Nix
{ stdenv, fetchurl, pkgconfig, gtk2, openssl ? null, gpgme ? null
|
|
, gpgSupport ? true, sslSupport ? true }:
|
|
|
|
assert gpgSupport -> gpgme != null;
|
|
assert sslSupport -> openssl != null;
|
|
|
|
with stdenv.lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sylpheed-${version}";
|
|
version = "3.7.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://sylpheed.sraoss.jp/sylpheed/v3.7/${name}.tar.xz";
|
|
sha256 = "0j9y5vdzch251s264diw9clrn88dn20bqqkwfmis9l7m8vmwasqd";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ gtk2 ]
|
|
++ optionals gpgSupport [ gpgme ]
|
|
++ optionals sslSupport [ openssl ];
|
|
|
|
configureFlags = [
|
|
(optional gpgSupport "--enable-gpgme")
|
|
(optional sslSupport "--enable-ssl")
|
|
];
|
|
|
|
meta = {
|
|
homepage = http://sylpheed.sraoss.jp/en/;
|
|
description = "Lightweight and user-friendly e-mail client";
|
|
maintainers = with maintainers; [ eelco ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|