2018-04-07 13:27:52 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, glib, gtk3, gmime, gnutls,
|
2018-11-27 15:25:01 +01:00
|
|
|
webkitgtk, libesmtp, openssl, libnotify, gtkspell3, gpgme,
|
2018-04-07 13:27:52 +02:00
|
|
|
libcanberra-gtk3, libsecret, gtksourceview, gobjectIntrospection,
|
|
|
|
hicolor-icon-theme, wrapGAppsHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "balsa-${version}";
|
2018-06-19 00:17:27 +02:00
|
|
|
version = "2.5.6";
|
2018-04-07 13:27:52 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pawsa.fedorapeople.org/balsa/${name}.tar.bz2";
|
2018-06-19 00:17:27 +02:00
|
|
|
sha256 = "17k6wcsl8gki7cskr3hhmfj6n54rha8ca3b6fzd8blsl5shsankx";
|
2018-04-07 13:27:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pkgconfig
|
|
|
|
intltool
|
2018-12-02 12:41:15 +01:00
|
|
|
gobject-introspection
|
2018-04-07 13:27:52 +02:00
|
|
|
hicolor-icon-theme
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
gmime
|
|
|
|
gnutls
|
|
|
|
webkitgtk
|
|
|
|
openssl
|
|
|
|
libnotify
|
2018-11-27 15:25:01 +01:00
|
|
|
gtkspell3
|
2018-04-07 13:27:52 +02:00
|
|
|
gpgme
|
|
|
|
libcanberra-gtk3
|
|
|
|
gtksourceview
|
|
|
|
libsecret
|
|
|
|
libesmtp
|
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-canberra"
|
|
|
|
"--with-gpgme"
|
|
|
|
"--with-gtksourceview"
|
|
|
|
"--with-libsecret"
|
|
|
|
"--with-ssl"
|
|
|
|
"--with-unique"
|
|
|
|
"--without-gnome"
|
2018-11-27 15:25:01 +01:00
|
|
|
"--with-spell-checker=gtkspell"
|
2018-04-07 13:27:52 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://pawsa.fedorapeople.org/balsa/;
|
|
|
|
description = "An e-mail client for GNOME";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|