1 { lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, libgpg-error, gobject-introspection }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnome/sources/gmime/2.6/${pname}-${version}.tar.xz";
9 sha256 = "0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi";
12 outputs = [ "out" "dev" ];
14 nativeBuildInputs = [ pkg-config gobject-introspection ];
15 propagatedBuildInputs = [ glib zlib libgpg-error ];
16 configureFlags = [ "--enable-introspection=yes" ];
19 substituteInPlace tests/testsuite.c \
20 --replace /bin/rm rm \
21 --replace /bin/mkdir mkdir
23 substituteInPlace tests/test-pkcs7.c \
24 --replace /bin/mkdir mkdir
27 checkInputs = [ gnupg ];
29 enableParallelBuilding = true;
32 homepage = "https://github.com/jstedfast/gmime/";
33 description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
34 license = licenses.lgpl21Plus;
35 maintainers = with maintainers; [ ];
36 platforms = platforms.unix;