-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbidi-icu.cabal
51 lines (47 loc) · 1.48 KB
/
bidi-icu.cabal
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
cabal-version: 2.2
name: bidi-icu
version: 0
synopsis: The unicode bidirectional algorithm via ICU
description: The unicode bidirectional algorithm via ICU.
homepage: https://github.com/ekmett/codex/tree/master/bidi-icu#readme
license: BSD-2-Clause OR Apache-2.0
license-file: LICENSE.md
author: Edward Kmett
maintainer: Edward Kmett <ekmett@gmail.com>
copyright: Copyright (c) 2019-2021 Edward Kmett
stability: experimental
category: Graphics
build-type: Simple
extra-doc-files:
README.md,
CHANGELOG.md
source-repository head
type: git
location: https://github.com/ekmett/codex
subdir: bidi-icu
common base
default-language: Haskell2010
ghc-options:
-Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities -Wmissing-export-lists
build-depends: base >= 4.11 && < 5, data-default, primitive, text, vector
library
import: base
hs-source-dirs: src
build-tool-depends: hsc2hs:hsc2hs
if os(darwin)
-- brew does not add icu-uc to pkg-config, because Apple
-- ships a subset of ICU itself.
extra-lib-dirs: /usr/local/opt/icu4c/lib
include-dirs: /usr/local/opt/icu4c/include
extra-libraries: icuuc
else
pkgconfig-depends: icu-uc
build-depends: containers >= 0.6, ghc-prim, inline-c, template-haskell, transformers
exposed-modules: Data.Text.ICU.Bidi
test-suite spec
import: base
type: exitcode-stdio-1.0
hs-source-dirs: test
build-depends: bidi-icu, ghc-prim, hspec, tasty, tasty-hspec
main-is: Spec.hs