packages feed

utf8-light-0.4.3: utf8-light.cabal

cabal-version:      2.4
name:               utf8-light
version:            0.4.3
build-type:         Simple
license:            BSD-3-Clause
license-file:       LICENSE
category:           Codec
author:             Matt Morrow
copyright:          Matt Morrow
maintainer:         Francesco Ariis <fa-ml@ariis.it>
stability:          experimental
synopsis:           Unicode
description:        Lightweight UTF8 handling
extra-source-files: README, NEWS


library
  build-depends:      base == 4.*
                    , ghc-prim
                    , bytestring
  hs-source-dirs:     src
  exposed-modules:    Codec.Binary.UTF8.Light
                      Codec.Binary.UTF8.Light.Helper
  default-language:   Haskell2010
  ghc-options:        -Wall

  if !impl(ghc)
    hs-source-dirs: comp-dep/non-ghc
  if impl(ghc < 9.2)
    hs-source-dirs: comp-dep/ghc-less-than-9.2
  if impl(ghc >= 9.2)
    hs-source-dirs: comp-dep/ghc-eq-or-greater-9.2


test-suite test
  HS-Source-Dirs:      test, src
  main-is:             Test.hs
  build-depends:       base == 4.*
                     , ghc-prim
                     , bytestring
                       -- same as above, plus hspec
                     , hspec      >= 2.3 && < 2.11
  build-tool-depends:  hspec-discover:hspec-discover
  other-modules:       Codec.Binary.UTF8.Light
                       Codec.Binary.UTF8.LightSpec
                       Codec.Binary.UTF8.Light.Helper
                       Codec.Binary.UTF8.Light.HelperSpec
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  ghc-options:         -Wall

  if !impl(ghc)
    hs-source-dirs: comp-dep/non-ghc
  if impl(ghc < 9.2)
    hs-source-dirs: comp-dep/ghc-less-than-9.2
  if impl(ghc >= 9.2)
    hs-source-dirs: comp-dep/ghc-eq-or-greater-9.2


source-repository head
  type:     git
  location: https://gitlab.com/fffaaa/utf8-light