1 { lib, stdenv, fetchurl, pkg-config, glib, zlib, gnupg, gpgme, libidn2, libunistring, gobject-introspection
4 stdenv.mkDerivation rec {
8 src = fetchurl { # https://github.com/jstedfast/gmime/releases
9 url = "https://github.com/jstedfast/gmime/releases/download/${version}/gmime-${version}.tar.xz";
10 sha256 = "sha256-OPm3aBgjQsSExBIobbjVgRaX/4FiQ3wFea3w0G4icFs=";
13 outputs = [ "out" "dev" ];
15 buildInputs = [ vala gobject-introspection zlib gpgme libidn2 libunistring ];
16 nativeBuildInputs = [ pkg-config ];
17 propagatedBuildInputs = [ glib ];
19 "--enable-introspection=yes"
24 substituteInPlace tests/testsuite.c \
28 checkInputs = [ gnupg ];
32 enableParallelBuilding = true;
35 homepage = "https://github.com/jstedfast/gmime/";
36 description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
37 license = licenses.lgpl21Plus;
38 maintainers = with maintainers; [ ];
39 platforms = platforms.unix;