forked from jgm/zip-archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzip-archive.cabal
63 lines (58 loc) · 2.01 KB
/
zip-archive.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Name: zip-archive
Version: 0.2.1
Cabal-Version: >= 1.10
Build-type: Simple
Synopsis: Library for creating and modifying zip archives.
Description: The zip-archive library provides functions for creating, modifying,
and extracting files from zip archives.
Category: Codec
License: BSD3
License-file: LICENSE
Homepage: http://github.com/jgm/zip-archive
Author: John MacFarlane
Maintainer: jgm@berkeley.edu
Build-Depends: base
Source-repository head
type: git
location: git://github.com/jgm/zip-archive.git
flag splitBase
Description: Choose the new, smaller, split-up base package.
Default: True
flag executable
Description: Build the Zip executable.
Default: False
Library
if flag(splitBase)
Build-depends: base >= 3 && < 5, pretty, containers
else
Build-depends: base < 3
Build-depends: binary >= 0.5, zlib, filepath, bytestring >= 0.9.0, array, mtl, text >= 0.11, old-time, digest >= 0.0.0.1, directory, time, encoding >= 0.6.2
Exposed-modules: Codec.Archive.Zip
Default-Language: Haskell98
Hs-Source-Dirs: src
Ghc-Options: -Wall
Default-Extensions: CPP
if os(windows)
cpp-options: -D_WINDOWS
else
Build-depends: unix
Executable Zip
if flag(executable)
Buildable: True
else
Buildable: False
Main-is: Zip.hs
Hs-Source-Dirs: .
Build-Depends: base >= 4.2 && < 5, directory >= 1.1, bytestring >= 0.9.0,
zip-archive
Ghc-Options: -Wall
Default-Language: Haskell98
Test-Suite test-zip-archive
Type: exitcode-stdio-1.0
Main-Is: test-zip-archive.hs
Hs-Source-Dirs: tests
Build-Depends: base >= 4.2 && < 5,
directory, bytestring >= 0.9.0, process, time, old-time,
HUnit, zip-archive
Default-Language: Haskell98
Ghc-Options: -Wall