revise .cabal

This commit is contained in:
Jens Petersen 2021-08-04 22:29:12 +08:00
parent 8be0a04efe
commit c8548b4343

View File

@ -1,46 +1,46 @@
name: zlib-bindings name: zlib-bindings
version: 0.1.1.5 version: 0.1.1.5
x-revision: 2 x-revision: 2
license: BSD3 license: BSD3
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com> author: Michael Snoyman <michael@snoyman.com>
maintainer: Gregory Collins <greg@gregorycollins.net> maintainer: Gregory Collins <greg@gregorycollins.net>
synopsis: Low-level bindings to the zlib package. synopsis: Low-level bindings to the zlib package.
description: Low-level bindings to the zlib package. description: Low-level bindings to the zlib package.
category: Codec category: Codec
stability: Experimental stability: Experimental
cabal-version: >= 1.8 cabal-version: >= 1.8
build-type: Simple build-type: Simple
homepage: http://github.com/snapframework/zlib-bindings homepage: http://github.com/snapframework/zlib-bindings
extra-source-files: cbits/crc32.h cbits/inffast.h cbits/inflate.h extra-source-files: cbits/crc32.h cbits/inffast.h cbits/inflate.h
cbits/trees.h cbits/deflate.h cbits/inffixed.h cbits/trees.h cbits/deflate.h cbits/inffixed.h
cbits/inftrees.h cbits/zutil.h, test/main.hs, cbits/inftrees.h cbits/zutil.h, test/main.hs,
LICENSE.gz LICENSE.gz
library library
build-depends: base >= 4 && < 5 build-depends: base >= 4 && < 5
, bytestring >= 0.9.1.4 , bytestring >= 0.9.1.4
, zlib >= 0.5.2.0 , zlib >= 0.5.2.0
exposed-modules: Codec.Zlib exposed-modules: Codec.Zlib
Codec.Zlib.Lowlevel Codec.Zlib.Lowlevel
ghc-options: -Wall ghc-options: -Wall
c-sources: c/helper.c c-sources: c/helper.c
if os(windows) if os(windows)
include-dirs: cbits include-dirs: cbits
install-includes: zlib.h zconf.h install-includes: zlib.h zconf.h
test-suite test test-suite test
main-is: main.hs main-is: main.hs
hs-source-dirs: test hs-source-dirs: test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
build-depends: base >= 4 && < 5 build-depends: base >= 4 && < 5
, bytestring , bytestring
, zlib , zlib
, zlib-bindings , zlib-bindings
, hspec >= 1.3 , hspec >= 1.3
, QuickCheck >= 2.3 , QuickCheck >= 2.3
ghc-options: -Wall ghc-options: -Wall
source-repository head source-repository head
type: git type: git
location: git://github.com/snapframework/zlib-bindings.git location: git://github.com/snapframework/zlib-bindings.git