git.iko.soy/typeable/country-codes
on 0.1.2 help sign in
typeable/country-codes/country-codes.cabal
62 lines 1.6 kB history raw
1name: country-codes
2version: 0.1.2
3cabal-version: >= 1.8
4build-type: Simple
5author: JP Moresmau <jpmoresmau@gmail.com>
6license: BSD3
7license-file: LICENSE
8copyright: (c) 2014 Prowdsponsor
9category: Data
10homepage: https://github.com/prowdsponsor/country-codes
11maintainer: Prowdsponsor <opensource@prowdsponsor.com>
12synopsis: ISO 3166 country codes and i18n names.
13description: ISO 3166 country codes and i18n names.
16source-repository head
17 type: git
18 location: git://github.com/prowdsponsor/country-codes.git
21flag generate
22 default: False
23 description: Build generate executable?
24 manual: True
27library
28 hs-source-dirs: src
29 build-depends:
30 base >= 4 && < 5
31 , text >= 0.11
32 , aeson >= 0.5 && < 0.10
33 , shakespeare == 2.0.*
34 ghc-options: -Wall
35 other-modules: Data.CountryCodes.ISO31661
36 exposed-modules: Data.CountryCodes
39executable country-codes-generate
40 hs-source-dirs: exe
41 build-depends:
42 base >= 4 && < 5
43 , text >= 0.11
44 , tagsoup >= 0.13 && < 0.14
45 ghc-options: -Wall -rtsopts
46 main-is: Main.hs
47 if !flag(generate)
48 buildable: False
51test-suite country-codes-tests
52 type: exitcode-stdio-1.0
53 main-is: country-codes-tests.hs
54 ghc-options: -Wall -rtsopts -threaded
55 build-depends:
56 base
57 , aeson
58 , country-codes
59 , HTF > 0.9
60 , HUnit >= 1.2.5
61 hs-source-dirs:
62 test