packages feed

html-charset-0.1.0: html-charset.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 099e0dc8959de54391d803d7ecc8f5294b7b59d0936610a8c30921c3758bb3b1

name:           html-charset
version:        0.1.0
synopsis:       Determine character encoding of HTML documents/fragments
description:    Please see the README.md on GitHub at <https://github.com/dahlia/html-charset#readme>.
category:       Web
homepage:       https://github.com/dahlia/html-charset#readme
bug-reports:    https://github.com/dahlia/html-charset/issues
author:         Hong Minhee <hong.minhee@gmail.com>
maintainer:     Hong Minhee <hong.minhee@gmail.com>
copyright:      (c) 2018 Hong Minhee
license:        LGPL-2.1
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGES.md
    README.md

source-repository head
  type: git
  location: https://github.com/dahlia/html-charset

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds
  build-depends:
      attoparsec >=0.12 && <1
    , base >=4.7 && <5
    , bytestring
    , charsetdetect-ae >=1.1 && <2
  exposed-modules:
      Text.Html.Encoding.Detection
  other-modules:
      Paths_html_charset
  default-language: Haskell2010

executable html-charset
  main-is: Main.hs
  hs-source-dirs:
      app
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring
    , html-charset
    , optparse-applicative >=0.14 && <1
  other-modules:
      Paths_html_charset
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: doctest.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded
  build-depends:
      QuickCheck
    , base >=4.7 && <5
    , bytestring
    , doctest
    , doctest-discover
    , html-charset
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: hlint.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-incomplete-uni-patterns -fprint-explicit-kinds -threaded
  build-depends:
      base >=4.7 && <5
    , bytestring
    , hlint >=2.1.7 && <2.2
  default-language: Haskell2010