* Revive gmime-2.2.x, because gmime-2.4.x is not backwards

compatible.  For instance, Pan requires gmime-2.2.

svn path=/nixpkgs/trunk/; revision=22543
This commit is contained in:
Eelco Dolstra 2010-07-09 09:12:42 +00:00
parent 765e4ee981
commit f2aa054357
4 changed files with 38 additions and 7 deletions

View File

@ -27,5 +27,6 @@ stdenv.mkDerivation {
meta = {
description = "A GTK+-based Usenet newsreader good at both text and binaries";
homepage = http://pan.rebelbase.com/;
maintainers = [ stdenv.lib.maintainers.eelco ];
};
}

View File

@ -0,0 +1,17 @@
{ stdenv, fetchurl, pkgconfig, glib, zlib }:
stdenv.mkDerivation rec {
name = "gmime-2.2.26";
src = fetchurl {
url = "mirror://gnome/sources/gmime/2.2/${name}.tar.gz";
sha256 = "16inhq6symym9n71kxcndjwrxs2xrz63idvy64yc486wlg54aqfc";
};
buildInputs = [ pkgconfig glib zlib ];
meta = {
homepage = http://spruce.sourceforge.net/gmime/;
description = "A C/C++ library for manipulating MIME messages";
};
}

View File

@ -1,10 +1,17 @@
{stdenv, fetchurl, pkgconfig, glib, zlib}:
{ stdenv, fetchurl, pkgconfig, glib, zlib }:
stdenv.mkDerivation {
name = "gmime-2.4.15";
stdenv.mkDerivation rec {
name = "gmime-2.4.17";
src = fetchurl {
url = http://ftp.acc.umu.se/pub/GNOME/sources/gmime/2.4/gmime-2.4.15.tar.bz2;
sha256 = "a0a6c9413b057ab5d8a2a2902cbaa5b3a17871af3f94dc8431978c9e0e5f53e1";
url = "mirror://gnome/sources/gmime/2.4/${name}.tar.gz";
sha256 = "1l1pbk0yrr7zwl90aabdhw0f9i4m6ragsfyk5qwg0hzk21abz9wd";
};
buildInputs = [ pkgconfig glib zlib ];
meta = {
homepage = http://spruce.sourceforge.net/gmime/;
description = "A C/C++ library for manipulating MIME messages";
};
buildInputs = [pkgconfig glib zlib];
}

View File

@ -4094,6 +4094,10 @@ let
inherit fetchurl stdenv pkgconfig zlib glib;
};
gmime_2_2 = import ../development/libraries/gmime/2.2.x.nix {
inherit fetchurl stdenv pkgconfig zlib glib;
};
gmm = import ../development/libraries/gmm {
inherit fetchurl stdenv;
};
@ -5680,6 +5684,7 @@ let
perlcritic = perlPackages.PerlCritic;
### DEVELOPMENT / PYTHON MODULES
buildPythonPackage =
@ -8508,8 +8513,9 @@ let
};
pan = import ../applications/networking/newsreaders/pan {
inherit fetchurl stdenv pkgconfig perl pcre gmime gettext;
inherit fetchurl stdenv pkgconfig perl pcre gettext;
inherit (gtkLibs) gtk;
gmime = gmime_2_2;
spellChecking = false;
};