gmime3: 3.2.5 -> 3.2.6

Also add vala support, as it's required by geary now.
This commit is contained in:
Tor Hedin Brønner 2020-03-02 14:06:43 +01:00 committed by Jan Tojnar
parent 03974fb042
commit c1052e9284
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,20 +1,24 @@
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection }:
{ stdenv, fetchurl, pkgconfig, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection
, vala }:
stdenv.mkDerivation rec {
version = "3.2.5";
version = "3.2.6";
pname = "gmime";
src = fetchurl {
url = "mirror://gnome/sources/gmime/3.2/${pname}-${version}.tar.xz";
sha256 = "0ndsg1z1kq4w4caascydvialpyn4rfbjdn7xclzbzhw53x85cxgv";
sha256 = "05s7qjrxbj010q016pmdqdq73gz8vl4hv29kwaign0j8gi61kzxb";
};
outputs = [ "out" "dev" ];
buildInputs = [ gobject-introspection zlib gpgme libidn2 libunistring ];
buildInputs = [ vala gobject-introspection zlib gpgme libidn2 libunistring ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ glib ];
configureFlags = [ "--enable-introspection=yes" ];
configureFlags = [
"--enable-introspection=yes"
"--enable-vala=yes"
];
postPatch = ''
substituteInPlace tests/testsuite.c \
@ -28,7 +32,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://github.com/jstedfast/gmime/;
homepage = "https://github.com/jstedfast/gmime/";
description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ ];