105 lines
3.3 KiB
Text
105 lines
3.3 KiB
Text
-- Initial Hufflepdf.cabal generated by cabal init. For further
|
|
-- documentation, see http://haskell.org/cabal/users-guide/
|
|
|
|
name: Hufflepdf
|
|
version: 0.2.0.1
|
|
synopsis: A PDF parser
|
|
-- description:
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: Tissevert
|
|
maintainer: tissevert+devel@marvid.fr
|
|
-- copyright:
|
|
category: Data
|
|
build-type: Simple
|
|
extra-source-files: ChangeLog.md
|
|
cabal-version: >=1.10
|
|
|
|
library
|
|
exposed-modules: PDF
|
|
, PDF.Box
|
|
, PDF.CMap
|
|
, PDF.Content
|
|
, PDF.Content.Text
|
|
, PDF.EOL
|
|
, PDF.Layer
|
|
, PDF.Object
|
|
, PDF.Object.Navigation
|
|
, PDF.Output
|
|
, PDF.Parser
|
|
, PDF.Pages
|
|
other-modules: Data.ByteString.Char8.Util
|
|
, Data.OrderedMap
|
|
, PDF.Content.Operator
|
|
, PDF.Content.Operator.Color
|
|
, PDF.Content.Operator.Common
|
|
, PDF.Content.Operator.GraphicState
|
|
, PDF.Content.Operator.Path
|
|
, PDF.Content.Operator.Text
|
|
, PDF.Encoding
|
|
, PDF.Encoding.MacRoman
|
|
, PDF.Body
|
|
, PDF.Font
|
|
-- other-extensions:
|
|
build-depends: attoparsec
|
|
, base >=4.9 && <4.13
|
|
, bytestring
|
|
, containers
|
|
, mtl
|
|
, text
|
|
, utf8-string
|
|
, zlib
|
|
hs-source-dirs: src
|
|
ghc-options: -Wall
|
|
default-language: Haskell2010
|
|
|
|
executable equivalent
|
|
main-is: examples/equivalent.hs
|
|
build-depends: base
|
|
, bytestring
|
|
, Hufflepdf
|
|
ghc-options: -Wall
|
|
default-language: Haskell2010
|
|
|
|
executable getObj
|
|
main-is: examples/getObj.hs
|
|
build-depends: base
|
|
, bytestring
|
|
, containers
|
|
, Hufflepdf
|
|
, mtl
|
|
ghc-options: -Wall
|
|
default-language: Haskell2010
|
|
|
|
executable getText
|
|
main-is: examples/getText.hs
|
|
build-depends: base
|
|
, bytestring
|
|
, containers
|
|
, Hufflepdf
|
|
, mtl
|
|
, text
|
|
, zlib
|
|
ghc-options: -Wall
|
|
default-language: Haskell2010
|
|
|
|
Test-Suite unitTests
|
|
type: exitcode-stdio-1.0
|
|
main-is: Main.hs
|
|
other-modules: Object
|
|
, Data.ByteString.Char8.Util
|
|
, PDF.EOL
|
|
, PDF.Parser
|
|
, PDF.Object
|
|
, PDF.Output
|
|
hs-source-dirs: test
|
|
, src
|
|
build-depends: attoparsec
|
|
, base >=4.9 && <4.13
|
|
, bytestring
|
|
, containers
|
|
, Hufflepdf
|
|
, HUnit
|
|
, mtl
|
|
, text
|
|
default-language: Haskell2010
|