packages feed

roc-id-0.1.0.0: roc-id.cabal

name:           roc-id
version:        0.1.0.0
synopsis:       Implementation of the ROC 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:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

description:
  This package provides an implementation of the ROC 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-source-files:
  README.md

source-repository head
  type: git
  location: https://github.com/jonathanknowles/roc-id

library
  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
  build-depends:
      MonadRandom
    , Only
    , base >=4.7 && <5
    , text
    , vector-sized
  default-language: Haskell2010

test-suite roc-id-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_roc_id
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      MonadRandom
    , Only
    , QuickCheck
    , base >=4.7 && <5
    , generic-arbitrary
    , hspec
    , roc-id
    , text
    , vector-sized
  default-language: Haskell2010