mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
82df69a1de
Use latest zip archive only with GHC 7.8.2 so that we don't have to override 'binary' everywhere else.
20 lines
653 B
Nix
20 lines
653 B
Nix
{ cabal, binary, digest, filepath, HUnit, mtl, text, time, zlib }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "zip-archive";
|
|
version = "0.2.2.1";
|
|
sha256 = "0w9l3kdlwkc3yvyxb152s9qwzmc0kjp6d1cbk7yfkpw3081qgckn";
|
|
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 ];
|
|
};
|
|
})
|