packages feed

digit-0.3.0: digit.cabal

name:               digit
version:            0.3.0
license:            BSD3
license-file:       LICENCE
author:             Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>
maintainer:         Queensland Functional Programming Lab <oᴉ˙ldɟb@llǝʞsɐɥ>
copyright:          Copyright (C) 2010-2016 NICTA Limited
copyright:          Copyright (c) 2017, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
synopsis:           A data-type representing digits 0-9 and other combinations
category:           Data
homepage:           https://github.com/qfpl/digit
bug-reports:        https://github.com/qfpl/digit/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: CONTRIBUTORS, changelog.md
description:
  <<http://i.imgur.com/uZnp9ke.png>>
  .
  @Digit@ is a data-type that represents the digits 0-9 and other combinations.

source-repository   head
  type:             git
  location:         git@github.com:qfpl/digit.git

flag                small_base
  description:      Choose the new, split-up base package.

library
  default-language:
                    Haskell2010

  build-depends:
                    base               >= 4.7 && < 5
                    , lens             >= 4.0 && < 5
                    , parsers          >= 0.12.3 && < 0.13
                    , semigroups       >= 0.12 && < 1.0
                    , template-haskell >= 2.8 && < 3
                    , papa             >= 0.3 && < 0.4
                    
  ghc-options:
                    -Wall

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Digit
                    Data.Digits
                    Data.Digits1

test-suite doctests
  type:
                    exitcode-stdio-1.0

  main-is:
                    doctests.hs

  default-language:
                    Haskell2010

  build-depends:
                    base < 5 && >= 4.8
                    , doctest >= 0.9.7
                    , filepath >= 1.3
                    , directory >= 1.1
                    , QuickCheck >= 2.0
                    , template-haskell >= 2.8
                    , parsec >= 3.1
                    
  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test