nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 89 lines 1.5 kB view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitLab, 5 glib, 6 gmime3, 7 gnutls, 8 gpgme, 9 gtk3, 10 gtksourceview4, 11 gtkspell3, 12 libcanberra-gtk3, 13 libesmtp, 14 libical, 15 libnotify, 16 libsecret, 17 openssl, 18 meson, 19 ninja, 20 pkg-config, 21 sqlite, 22 webkitgtk_4_1, 23 wrapGAppsHook3, 24}: 25 26stdenv.mkDerivation (finalAttrs: { 27 pname = "balsa"; 28 version = "2.6.5"; 29 30 src = fetchFromGitLab { 31 domain = "gitlab.gnome.org"; 32 owner = "GNOME"; 33 repo = "balsa"; 34 tag = finalAttrs.version; 35 hash = "sha256-KvgDIFbXmVkTqOibKF+8UhupEDgdhje600aSbmeKZqo="; 36 }; 37 38 nativeBuildInputs = [ 39 meson 40 ninja 41 pkg-config 42 wrapGAppsHook3 43 ]; 44 45 buildInputs = [ 46 glib 47 gmime3 48 gnutls 49 gpgme 50 gtk3 51 gtksourceview4 52 gtkspell3 53 libcanberra-gtk3 54 libesmtp 55 libical 56 libnotify 57 libsecret 58 openssl 59 sqlite 60 webkitgtk_4_1 61 ]; 62 63 mesonFlags = [ 64 (lib.mesonOption "sysconfdir" "etc") 65 ]; 66 67 configureFlags = [ 68 "--with-canberra" 69 "--with-gtksourceview" 70 "--with-libsecret" 71 "--with-spell-checker=gtkspell" 72 "--with-sqlite" 73 "--with-ssl" 74 "--with-unique" 75 "--without-gnome" 76 ]; 77 78 enableParallelBuilding = true; 79 80 meta = { 81 description = "E-mail client for GNOME"; 82 homepage = "https://gitlab.gnome.org/GNOME/balsa"; 83 changelog = "https://gitlab.gnome.org/GNOME/balsa/-/blob/master/ChangeLog"; 84 mainProgram = "balsa"; 85 license = lib.licenses.gpl2Plus; 86 platforms = lib.platforms.unix; 87 maintainers = with lib.maintainers; [ timon ]; 88 }; 89})