nixpkgs/pkgs/applications/networking/mailreaders/balsa/default.nix
2022-09-23 11:21:58 -03:00

80 lines
1.3 KiB
Nix

{ lib
, stdenv
, fetchurl
, glib
, gmime3
, gnutls
, gobject-introspection
, gpgme
, gtk3
, gtksourceview4
, gtkspell3
, intltool
, libcanberra-gtk3
, libesmtp
, libical
, libnotify
, libsecret
, openssl
, pkg-config
, sqlite
, webkitgtk
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "balsa";
version = "2.6.4";
src = fetchurl {
url = "https://pawsa.fedorapeople.org/balsa/${pname}-${version}.tar.xz";
sha256 = "1hcgmjka2x2igdrmvzlfs12mv892kv4vzv5iy90kvcqxa625kymy";
};
nativeBuildInputs = [
pkg-config
intltool
gobject-introspection
wrapGAppsHook
];
buildInputs = [
glib
gmime3
gnutls
gpgme
gtk3
gtksourceview4
gtkspell3
libcanberra-gtk3
libesmtp
libical
libnotify
libsecret
openssl
sqlite
webkitgtk
];
configureFlags = [
"--with-canberra"
"--with-gtksourceview"
"--with-libsecret"
"--with-spell-checker=gtkspell"
"--with-sqlite"
"--with-ssl"
"--with-unique"
"--without-gnome"
];
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://pawsa.fedorapeople.org/balsa/";
description = "An e-mail client for GNOME";
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}