2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2020-05-13 22:13:16 +01:00
|
|
|
, fetchurl
|
|
|
|
, glib
|
2020-05-13 22:12:22 +01:00
|
|
|
, gmime3
|
2020-05-13 22:13:16 +01:00
|
|
|
, gnutls
|
2020-05-13 22:17:05 +01:00
|
|
|
, gobject-introspection
|
2020-05-13 22:13:16 +01:00
|
|
|
, gpgme
|
2020-05-13 22:17:05 +01:00
|
|
|
, gtk3
|
|
|
|
, gtksourceview
|
|
|
|
, gtkspell3
|
|
|
|
, intltool
|
2020-05-13 22:13:16 +01:00
|
|
|
, libcanberra-gtk3
|
2020-05-13 22:17:05 +01:00
|
|
|
, libesmtp
|
2020-05-13 22:12:22 +01:00
|
|
|
, libical
|
2020-05-13 22:17:05 +01:00
|
|
|
, libnotify
|
2020-05-13 22:13:16 +01:00
|
|
|
, libsecret
|
2020-05-13 22:17:05 +01:00
|
|
|
, openssl
|
2021-01-17 02:09:27 +00:00
|
|
|
, pkg-config
|
2020-05-13 22:17:05 +01:00
|
|
|
, webkitgtk
|
2020-05-13 22:13:16 +01:00
|
|
|
, wrapGAppsHook
|
2018-04-07 12:27:52 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "balsa";
|
2020-05-13 22:12:22 +01:00
|
|
|
version = "2.6.1";
|
2018-04-07 12:27:52 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://pawsa.fedorapeople.org/balsa/${pname}-${version}.tar.bz2";
|
2020-05-13 22:12:22 +01:00
|
|
|
sha256 = "1xkxx801p7sbfkn0bh3cz85wra4xf1z1zhjqqc80z1z1nln7fhb4";
|
2018-04-07 12:27:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2021-01-17 02:09:27 +00:00
|
|
|
pkg-config
|
2018-04-07 12:27:52 +01:00
|
|
|
intltool
|
2018-12-02 11:41:15 +00:00
|
|
|
gobject-introspection
|
2018-04-07 12:27:52 +01:00
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
glib
|
2020-05-13 22:12:22 +01:00
|
|
|
gmime3
|
2018-04-07 12:27:52 +01:00
|
|
|
gnutls
|
|
|
|
gpgme
|
2020-05-13 22:17:05 +01:00
|
|
|
gtk3
|
2018-04-07 12:27:52 +01:00
|
|
|
gtksourceview
|
2020-05-13 22:17:05 +01:00
|
|
|
gtkspell3
|
|
|
|
libcanberra-gtk3
|
2018-04-07 12:27:52 +01:00
|
|
|
libesmtp
|
2020-05-13 22:12:22 +01:00
|
|
|
libical
|
2020-05-13 22:17:05 +01:00
|
|
|
libnotify
|
|
|
|
libsecret
|
|
|
|
openssl
|
|
|
|
webkitgtk
|
2018-04-07 12:27:52 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--with-canberra"
|
|
|
|
"--with-gtksourceview"
|
|
|
|
"--with-libsecret"
|
|
|
|
"--with-ssl"
|
|
|
|
"--with-unique"
|
|
|
|
"--without-gnome"
|
2018-11-27 14:25:01 +00:00
|
|
|
"--with-spell-checker=gtkspell"
|
2018-04-07 12:27:52 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://pawsa.fedorapeople.org/balsa/";
|
2018-04-07 12:27:52 +01:00
|
|
|
description = "An e-mail client for GNOME";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|