packages feed

digit-0.2.2: digit.cabal

name:               digit
version:            0.2.2
license:            BSD3
license-File:       etc/LICENCE
author:             Tony Morris <ʇǝu˙sıɹɹoɯʇ@ןןǝʞsɐɥ>
maintainer:         Tony Morris
copyright:          Copyright (C) 2010-2016 NICTA Limited
synopsis:           A data-type representing digits 0-9 and other combinations
category:           Data
homepage:           https://github.com/NICTA/digit
bug-reports:        https://github.com/NICTA/digit/issues
cabal-version:      >= 1.10
build-type:         Custom
extra-source-files: etc/CONTRIBUTORS, etc/changelog
description:
  <<http://i.imgur.com/Ns5hntl.jpg>>
  .
  @Digit@ is a data-type that represents the digits 0-9 and other combinations.

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

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

library
  default-language:
                    Haskell2010

  build-depends:
                    base < 5 && >= 4.8
                    , lens >= 4.3.3 && < 5.0
                    , parsers >= 0.12.3 && < 0.13
                    , template-haskell >= 2.8

  ghc-options:
                    -Wall

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Digit

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

  ghc-options:
                    -Wall
                    -threaded

  hs-source-dirs:
                    test