roc-id-0.2.0.5: roc-id.cabal
cabal-version: 3.0
name: roc-id
version: 0.2.0.5
synopsis: Implementation of the ROC (Taiwan) National ID standard.
category: Identification
homepage: https://github.com/jonathanknowles/roc-id#readme
bug-reports: https://github.com/jonathanknowles/roc-id/issues
author: Jonathan Knowles
maintainer: mail@jonathanknowles.net
copyright: Jonathan Knowles
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
description:
This package provides an implementation of the ROC (Taiwan) National
Identification Number (中華民國身分證號碼) standard.
In particular, it provides functions for parsing and validating
identification numbers from textual input.
See the "ROC.ID" module to get started.
For more details of the standard on which this package is based, see:
* https://zh.wikipedia.org/wiki/中華民國國民身分證
* https://en.wikipedia.org/wiki/National_Identification_Card_(Republic_of_China)
extra-doc-files:
CHANGELOG.md
README.md
common dependency-base
build-depends:base >= 4.7 && < 4.22
common dependency-hspec
build-depends:hspec >= 2.5.5 && < 2.12
common dependency-MonadRandom
build-depends:MonadRandom >= 0.5.1.1 && < 0.7
common dependency-Only
build-depends:Only >= 0.1 && < 0.2
common dependency-QuickCheck
build-depends:QuickCheck >= 2.13.2 && < 2.17
common dependency-text
build-depends:text >= 1.2.3.1 && < 2.2
common dependency-vector-sized
build-depends:vector-sized >= 1.0.4.0 && < 1.7
source-repository head
type: git
location: https://github.com/jonathanknowles/roc-id
library
import:
, dependency-base
, dependency-MonadRandom
, dependency-Only
, dependency-text
, dependency-vector-sized
exposed-modules:
ROC.ID
ROC.ID.Digit
ROC.ID.Gender
ROC.ID.Language
ROC.ID.Location
ROC.ID.Serial
other-modules:
ROC.ID.Utilities
hs-source-dirs:
library
ghc-options: -Wall
default-language: Haskell2010
test-suite roc-id-test
import:
, dependency-base
, dependency-hspec
, dependency-MonadRandom
, dependency-Only
, dependency-QuickCheck
, dependency-text
, dependency-vector-sized
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs:
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends:
, roc-id
default-language: Haskell2010