mirror of
https://github.com/simplex-chat/zip.git
synced 2026-06-03 09:17:33 +00:00
587046a6ff
Otherwise it thinks that the package is invalid.
105 lines
4.2 KiB
Plaintext
105 lines
4.2 KiB
Plaintext
name: zip
|
|
version: 1.2.0
|
|
cabal-version: 1.18
|
|
tested-with: GHC==8.0.2, GHC==8.2.2, GHC==8.4.3
|
|
license: BSD3
|
|
license-file: LICENSE.md
|
|
author: Mark Karpov <markkarpov92@gmail.com>
|
|
maintainer: Mark Karpov <markkarpov92@gmail.com>
|
|
homepage: https://github.com/mrkkrp/zip
|
|
bug-reports: https://github.com/mrkkrp/zip/issues
|
|
category: Codec
|
|
synopsis: Operations on zip archives
|
|
build-type: Simple
|
|
description: Operations on zip archives.
|
|
extra-doc-files: CHANGELOG.md
|
|
, README.md
|
|
|
|
flag dev
|
|
description: Turn on development settings.
|
|
manual: True
|
|
default: False
|
|
|
|
library
|
|
build-depends: base >= 4.9 && < 5.0
|
|
, bytestring >= 0.9 && < 0.11
|
|
, bzlib-conduit >= 0.3 && < 0.4
|
|
, case-insensitive >= 1.2.0.2 && < 1.3
|
|
, cereal >= 0.3 && < 0.6
|
|
, conduit >= 1.3 && < 1.4
|
|
, conduit-extra >= 1.3 && < 1.4
|
|
, containers >= 0.5.6.2 && < 0.6
|
|
, digest < 0.1
|
|
, directory >= 1.2.2 && < 1.4
|
|
, dlist >= 0.8 && < 0.9
|
|
, exceptions >= 0.6 && < 0.11
|
|
, filepath >= 1.2 && < 1.5
|
|
, monad-control >= 1.0 && < 1.1
|
|
, mtl >= 2.0 && < 3.0
|
|
, resourcet >= 1.2 && < 1.3
|
|
, text >= 0.2 && < 1.3
|
|
, time >= 1.4 && < 1.9
|
|
, transformers >= 0.4 && < 0.6
|
|
, transformers-base
|
|
if !impl(ghc >= 8.0)
|
|
build-depends: semigroups >= 0.16
|
|
exposed-modules: Codec.Archive.Zip
|
|
, Codec.Archive.Zip.CP437
|
|
other-modules: Codec.Archive.Zip.Internal
|
|
, Codec.Archive.Zip.Type
|
|
if flag(dev)
|
|
ghc-options: -O0 -Wall -Werror -Wcompat
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wnoncanonical-monad-instances
|
|
-Wnoncanonical-monadfail-instances
|
|
cpp-options: -DHASKELL_ZIP_DEV_MODE
|
|
else
|
|
ghc-options: -O2 -Wall
|
|
default-language: Haskell2010
|
|
|
|
test-suite tests
|
|
main-is: Main.hs
|
|
hs-source-dirs: tests
|
|
type: exitcode-stdio-1.0
|
|
build-depends: base >= 4.9 && < 5.0
|
|
, QuickCheck >= 2.4 && < 3.0
|
|
, bytestring >= 0.9 && < 0.11
|
|
, conduit >= 1.3 && < 1.4
|
|
, containers >= 0.5.6.2 && < 0.6
|
|
, directory >= 1.2.2 && < 1.4
|
|
, dlist >= 0.8 && < 0.9
|
|
, exceptions >= 0.6 && < 0.11
|
|
, filepath >= 1.2 && < 1.5
|
|
, hspec >= 2.0 && < 3.0
|
|
, temporary >= 1.1 && < 1.4
|
|
, text >= 0.2 && < 1.3
|
|
, time >= 1.4 && < 1.9
|
|
, transformers >= 0.4 && < 0.6
|
|
, zip
|
|
if flag(dev)
|
|
ghc-options: -O0 -Wall -Werror
|
|
else
|
|
ghc-options: -O2 -Wall
|
|
default-language: Haskell2010
|
|
|
|
source-repository head
|
|
type: git
|
|
location: https://github.com/mrkkrp/zip.git
|
|
|
|
executable haskell-zip-app
|
|
main-is: Main.hs
|
|
hs-source-dirs: bench-app
|
|
build-depends: base >= 4.7 && < 5.0
|
|
, filepath >= 1.2 && < 1.5
|
|
, zip
|
|
if flag(dev)
|
|
ghc-options: -Wall -Werror -Wcompat
|
|
-Wincomplete-record-updates
|
|
-Wincomplete-uni-patterns
|
|
-Wnoncanonical-monad-instances
|
|
-Wnoncanonical-monadfail-instances
|
|
else
|
|
ghc-options: -O2 -Wall
|
|
default-language: Haskell2010
|