lol

gmime: init at 3.0.1, leave 2.6.23 as is

This needs to be added as a separate package because API changed in 3.0, see:

https://mail.gnome.org/archives/gmime-devel-list/2017-April/msg00002.html
https://developer.gnome.org/gmime/3.0/gmime-changes-3-0.html
https://github.com/jstedfast/gmime/blob/3fd646c95503acb0d11bf67afde1c7bdd4fcc341/PORTING

authored by

Servilio Afre Puentes and committed by
Jan Malakhovski
9785fc73 94454384

+33 -4
+26
pkgs/development/libraries/gmime/3.nix
··· 1 + { stdenv, fetchurl, pkgconfig, glib, zlib, gpgme, libidn, gobjectIntrospection }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "gmime-3.0.1"; 5 + 6 + src = fetchurl { 7 + url = "mirror://gnome/sources/gmime/3.0/${name}.tar.xz"; 8 + sha256 = "001y93b8mq9alzkvli6vfh3pzdcn5c5iy206ml23lzhhhvm5k162"; 9 + }; 10 + 11 + outputs = [ "out" "dev" ]; 12 + 13 + nativeBuildInputs = [ pkgconfig gobjectIntrospection ]; 14 + propagatedBuildInputs = [ glib zlib gpgme libidn ]; 15 + configureFlags = [ "--enable-introspection=yes" ]; 16 + 17 + enableParallelBuilding = true; 18 + 19 + meta = with stdenv.lib; { 20 + homepage = https://github.com/jstedfast/gmime/; 21 + description = "A C/C++ library for creating, editing and parsing MIME messages and structures"; 22 + license = licenses.lgpl21Plus; 23 + maintainers = with maintainers; [ chaoflow ]; 24 + platforms = platforms.unix; 25 + }; 26 + }
+4 -3
pkgs/development/libraries/gmime/default.nix pkgs/development/libraries/gmime/2.nix
··· 16 16 17 17 enableParallelBuilding = true; 18 18 19 - meta = { 19 + meta = with stdenv.lib; { 20 20 homepage = https://github.com/jstedfast/gmime/; 21 21 description = "A C/C++ library for creating, editing and parsing MIME messages and structures"; 22 - maintainers = [ stdenv.lib.maintainers.chaoflow ]; 23 - platforms = stdenv.lib.platforms.unix; 22 + license = licenses.lgpl21Plus; 23 + maintainers = with maintainers; [ chaoflow ]; 24 + platforms = platforms.unix; 24 25 }; 25 26 }
+3 -1
pkgs/top-level/all-packages.nix
··· 8187 8187 8188 8188 glui = callPackage ../development/libraries/glui {}; 8189 8189 8190 - gmime = callPackage ../development/libraries/gmime { }; 8190 + gmime2 = callPackage ../development/libraries/gmime/2.nix { }; 8191 + gmime3 = callPackage ../development/libraries/gmime/3.nix { }; 8192 + gmime = gmime2; 8191 8193 8192 8194 gmm = callPackage ../development/libraries/gmm { }; 8193 8195