2017-01-01 02:13:19 +03:00
|
|
|
{ stdenv, fetchurl, pkgconfig, glib, zlib, libgpgerror, gobjectIntrospection }:
|
2006-05-08 01:58:31 +04:00
|
|
|
|
2010-07-09 13:12:42 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2017-09-15 23:48:46 +03:00
|
|
|
version = "2.6.23";
|
|
|
|
name = "gmime-${version}";
|
2012-08-27 06:53:19 +04:00
|
|
|
|
2006-05-08 01:58:31 +04:00
|
|
|
src = fetchurl {
|
2013-04-18 11:34:02 +04:00
|
|
|
url = "mirror://gnome/sources/gmime/2.6/${name}.tar.xz";
|
2017-01-29 19:18:09 +03:00
|
|
|
sha256 = "0slzlzcr3h8jikpz5a5amqd0csqh2m40gdk910ws2hnaf5m6hjbi";
|
2010-07-09 13:12:42 +04:00
|
|
|
};
|
2012-08-27 06:53:19 +04:00
|
|
|
|
2016-08-29 03:30:01 +03:00
|
|
|
outputs = [ "out" "dev" ];
|
2012-08-27 06:53:19 +04:00
|
|
|
|
2017-01-01 02:13:19 +03:00
|
|
|
nativeBuildInputs = [ pkgconfig gobjectIntrospection ];
|
2013-04-18 11:34:02 +04:00
|
|
|
propagatedBuildInputs = [ glib zlib libgpgerror ];
|
2017-01-01 02:13:19 +03:00
|
|
|
configureFlags = [ "--enable-introspection=yes" ];
|
2010-07-09 13:12:42 +04:00
|
|
|
|
2013-06-25 20:42:56 +04:00
|
|
|
enableParallelBuilding = true;
|
2010-07-09 13:12:42 +04:00
|
|
|
|
2017-08-31 18:01:08 +03:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-31 17:37:00 +03:00
|
|
|
homepage = https://github.com/jstedfast/gmime/;
|
|
|
|
description = "A C/C++ library for creating, editing and parsing MIME messages and structures";
|
2017-08-31 18:01:08 +03:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ chaoflow ];
|
|
|
|
platforms = platforms.unix;
|
2006-05-08 01:58:31 +04:00
|
|
|
};
|
|
|
|
}
|