File: utf8-light.cabal

package info (click to toggle)
haskell-utf8-light 0.4.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 108 kB
  • sloc: haskell: 445; makefile: 2
file content (54 lines) | stat: -rw-r--r-- 1,708 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
cabal-version:      3.0
name:               utf8-light
version:            0.4.4.0
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
tested-with:        GHC == 9.0.2, GHC == 9.2.1


common common-comp
  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

common common-build
  HS-Source-Dirs:     src
  build-depends:      base >= 4.8 && < 5
                    , ghc-prim
                    , bytestring
  ghc-options:        -Wall
  default-language:    Haskell2010


library
  import:           common-comp, common-build
  exposed-modules:    Codec.Binary.UTF8.Light
  other-modules:      Codec.Binary.UTF8.Light.Helper

test-suite test
  import:            common-comp, common-build
  HS-Source-Dirs:      test
  main-is:             Test.hs
  build-depends:       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

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