mirror of
https://github.com/typeable/country-codes.git
synced 2024-10-03 17:07:46 +03:00
69 lines
1.7 KiB
Plaintext
69 lines
1.7 KiB
Plaintext
name: country-codes
|
|
version: 0.1.4
|
|
cabal-version: >= 1.8
|
|
build-type: Simple
|
|
author: JP Moresmau <jpmoresmau@gmail.com>
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
copyright: (c) 2014 Prowdsponsor
|
|
category: Data
|
|
homepage: https://github.com/prowdsponsor/country-codes
|
|
maintainer: Prowdsponsor <opensource@prowdsponsor.com>
|
|
synopsis: ISO 3166 country codes and i18n names.
|
|
description: ISO 3166 country codes and i18n names.
|
|
|
|
|
|
source-repository head
|
|
type: git
|
|
location: git://github.com/prowdsponsor/country-codes.git
|
|
|
|
|
|
flag generate
|
|
default: False
|
|
description: Build generate executable?
|
|
manual: True
|
|
|
|
|
|
library
|
|
hs-source-dirs: src
|
|
build-depends:
|
|
base >= 4 && < 5
|
|
, text >= 0.11
|
|
, aeson >= 0.5
|
|
, deepseq >= 1.4
|
|
, generic-arbitrary
|
|
, shakespeare
|
|
-- == 2.0.*
|
|
, openapi3
|
|
, QuickCheck
|
|
ghc-options: -Wall
|
|
other-modules: Data.CountryCodes.ISO31661
|
|
exposed-modules: Data.CountryCodes
|
|
|
|
|
|
executable country-codes-generate
|
|
hs-source-dirs: exe
|
|
build-depends:
|
|
base >= 4 && < 5
|
|
, text >= 0.11
|
|
, tagsoup >= 0.13
|
|
-- && < 0.15
|
|
ghc-options: -Wall -rtsopts
|
|
main-is: Main.hs
|
|
if !flag(generate)
|
|
buildable: False
|
|
|
|
|
|
test-suite country-codes-tests
|
|
type: exitcode-stdio-1.0
|
|
main-is: country-codes-tests.hs
|
|
ghc-options: -Wall -rtsopts -threaded
|
|
build-depends:
|
|
base
|
|
, aeson
|
|
, country-codes
|
|
, HTF > 0.9
|
|
, HUnit >= 1.2.5
|
|
hs-source-dirs:
|
|
test
|