haskell-zip-archive: add version 0.2.3.2

Use latest zip archive only with GHC 7.8.2 so that we don't have to
override 'binary' everywhere else.
This commit is contained in:
Peter Simons 2014-05-24 10:55:20 +02:00
parent ecaf15c324
commit 82df69a1de
4 changed files with 23 additions and 1 deletions

View File

@ -0,0 +1,19 @@
{ cabal, binary, digest, filepath, HUnit, mtl, text, time, zlib }:
cabal.mkDerivation (self: {
pname = "zip-archive";
version = "0.2.3.2";
sha256 = "1y69sk6jyw1klgpl6bcamq1i9wy1536hz9x4s9b8n375sbhj10f1";
isLibrary = true;
isExecutable = true;
buildDepends = [ binary digest filepath mtl text time zlib ];
testDepends = [ HUnit time ];
doCheck = false;
meta = {
homepage = "http://github.com/jgm/zip-archive";
description = "Library for creating and modifying zip archives";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.andres ];
};
})

View File

@ -42,6 +42,7 @@
modularArithmetic = null; # requires base >= 4.7
pipesBinary = super.pipesBinary.override { binary = self.binary_0_7_2_1; };
transformers = self.transformers_0_3_0_0; # core packagen in ghc > 7.6.x
zipArchive = super.zipArchive_0_2_2_1; # works without binary 0.7.x
};
ghc742Prefs = self : super : ghc763Prefs self super // {

View File

@ -2502,7 +2502,9 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
zeromq4Haskell = callPackage ../development/libraries/haskell/zeromq4-haskell { zeromq = pkgs.zeromq4; };
zipArchive = callPackage ../development/libraries/haskell/zip-archive {};
zipArchive_0_2_2_1 = callPackage ../development/libraries/haskell/zip-archive/0.2.2.1.nix {};
zipArchive_0_2_3_2 = callPackage ../development/libraries/haskell/zip-archive/0.2.3.2.nix {};
zipArchive = self.zipArchive_0_2_3_2;
zipper = callPackage ../development/libraries/haskell/zipper {};