hsemail: added version 1.7.1 parallel to version 1.6

SMTPClient cannot be built with the latest version of hsemail because its Cabal
files enforces 1.6 by an upper version bound. I've asked upstream to release an
update that fixes this, but until that happens we need to keep version 1.6
around to make sure Gitit compiles.

svn path=/nixpkgs/trunk/; revision=28187
This commit is contained in:
Peter Simons 2011-08-06 07:41:44 +00:00
parent 8a5c6ef1cc
commit a6020a75d4
3 changed files with 21 additions and 2 deletions

@ -0,0 +1,15 @@
{cabal, mtl, parsec}:
cabal.mkDerivation (self : {
pname = "hsemail";
version = "1.7.1";
sha256 = "0059015ab93d5facf6060404984a295090ebfc667ae5b84b283163e126805a9e";
propagatedBuildInputs = [mtl parsec];
meta = {
homepage = "http://gitorious.org/hsemail";
description = "Internet Message Parsers";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [self.stdenv.lib.maintainers.andres self.stdenv.lib.maintainers.simons];
};
})

@ -684,7 +684,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
inherit (pkgs) adns;
};
hsemail = callPackage ../development/libraries/haskell/hsemail {};
hsemail_1_6 = callPackage ../development/libraries/haskell/hsemail/1.6.nix {};
hsemail_1_7_1 = callPackage ../development/libraries/haskell/hsemail/1.7.1.nix {};
hsemail = self.hsemail_1_7_1;
HsSyck = callPackage ../development/libraries/haskell/HsSyck {};
@ -997,7 +999,9 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
ShellacReadline = callPackage ../development/libraries/haskell/Shellac/Shellac-readline.nix {};
SMTPClient = callPackage ../development/libraries/haskell/SMTPClient {};
SMTPClient = callPackage ../development/libraries/haskell/SMTPClient {
hsemail = self.hsemail_1_6;
};
split = callPackage ../development/libraries/haskell/split {};