ua-parser-0.7.4: ua-parser.cabal
name: ua-parser
description: Please refer to the git/github README on the project for example usage.
version: 0.7.4
synopsis: A library for parsing User-Agent strings, official Haskell port of ua-parser
license: BSD3
license-file: LICENSE
author: Ozgun Ataman
maintainer: ozgun.ataman@soostone.com
category: Web
build-type: Simple
cabal-version: >=1.10
tested-with: GHC == 7.6.3
, GHC == 7.8.4
, GHC == 7.10.2
extra-source-files: src/Web/UAParser/SuiteUtils.hs
README.md
changelog.md
data-files: ./deps/uap-core/*.yaml
./deps/uap-core/test_resources/*.yaml
./deps/uap-core/tests/*.yaml
source-repository head
type: git
location: https://github.com/ua-parser/uap-haskell
subdir: haskell
flag lib-Werror
default: False
manual: True
library
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Web.UAParser
build-depends:
base < 5
, bytestring
, text
, pcre-light
, yaml >= 0.7 && < 0.9
, aeson >= 0.7 && < 1.2
, data-default
, file-embed < 0.1
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite test
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: src test
ghc-options: -O2 -Wall -fwarn-tabs
default-language: Haskell2010
if flag(lib-Werror)
ghc-options: -Werror
build-depends:
base
, bytestring
, text
, HUnit
, pcre-light
, yaml >= 0.7
, aeson
, tasty
, tasty-hunit
, tasty-quickcheck
, data-default
, filepath
, file-embed
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench, src
default-language: Haskell2010
build-depends:
base
, ua-parser
, criterion
, deepseq
, bytestring
, text
, yaml
, filepath
, aeson
, pcre-light
, file-embed
, data-default
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N