btrbk: add mainProgram
[NixPkgs.git] / pkgs / by-name / ba / balsa / package.nix
blobacec1b5cf0faeb7aca9a75367fdc0a25f5fd1605
1 { lib
2 , stdenv
3 , fetchurl
4 , glib
5 , gmime3
6 , gnutls
7 , gobject-introspection
8 , gpgme
9 , gtk3
10 , gtksourceview4
11 , gtkspell3
12 , intltool
13 , libcanberra-gtk3
14 , libesmtp
15 , libical
16 , libnotify
17 , libsecret
18 , openssl
19 , pkg-config
20 , sqlite
21 , webkitgtk_4_0
22 , wrapGAppsHook3
25 stdenv.mkDerivation rec {
26   pname = "balsa";
27   version = "2.6.4";
29   src = fetchurl {
30     url = "https://pawsa.fedorapeople.org/balsa/${pname}-${version}.tar.xz";
31     sha256 = "1hcgmjka2x2igdrmvzlfs12mv892kv4vzv5iy90kvcqxa625kymy";
32   };
34   nativeBuildInputs = [
35     pkg-config
36     intltool
37     gobject-introspection
38     wrapGAppsHook3
39   ];
41   buildInputs = [
42     glib
43     gmime3
44     gnutls
45     gpgme
46     gtk3
47     gtksourceview4
48     gtkspell3
49     libcanberra-gtk3
50     libesmtp
51     libical
52     libnotify
53     libsecret
54     openssl
55     sqlite
56     webkitgtk_4_0
57   ];
59   configureFlags = [
60     "--with-canberra"
61     "--with-gtksourceview"
62     "--with-libsecret"
63     "--with-spell-checker=gtkspell"
64     "--with-sqlite"
65     "--with-ssl"
66     "--with-unique"
67     "--without-gnome"
68   ];
70   enableParallelBuilding = true;
72   meta = with lib; {
73     homepage = "http://pawsa.fedorapeople.org/balsa/";
74     description = "E-mail client for GNOME";
75     license = licenses.gpl2Plus;
76     platforms = platforms.unix;
77     maintainers = [ maintainers.romildo ];
78   };