packages feed

deka-tests-0.6.0.2: deka-tests.cabal

-- This Cabal file generated using the Cartel library.
-- Cartel is available at:
-- http://www.github.com/massysett/cartel
--
-- Script name used to generate: genCabal.hs
-- Generated on: 2014-07-16 09:29:20.116107 EDT
-- Cartel library version: 0.10.0.2
name: deka-tests
version: 0.6.0.2
cabal-version: >= 1.14
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright 2014 Omari Norman
author: Omari Norman
maintainer: Omari Norman, omari@smileystation.com
stability: Experimental
homepage: https://github.com/massysett/deka
bug-reports: https://github.com/massysett/deka/issues
synopsis: Tests for deka, decimal floating point arithmetic
description:
  deka provides decimal floating point arithmetic.  It is based on
  mpdecimal, the C library used to provide support for the Decimal
  module in Python 3.
  .
  You will need to install mpdecimal to use deka; otherwise your
  executables will not link.  It is available at
  .
   <http://www.bytereef.org/mpdecimal/>
  .
  mpdecimal has also been packaged for some Linux distributions,
  such as Debian (libmpdec-dev - available in Jessie and later) and
  Arch (mpdecimal).
  .
  mpdecimal, in turn, implements the General Decimal Arithmetic
  Specification, which is available at
  .
  <http://speleotrove.com/decimal/>
  .
  For more on deka, please see the Github home page at
  .
  <https://github.com/massysett/deka>
  .
  This package contains only tests, so that other packages
  may also use the tests.
category: Math
tested-with: GHC == 7.4.1, GHC == 7.6.3, GHC == 7.8.3
extra-source-files:
    README.md
  , ChangeLog
  , current-versions.txt
  , minimum-versions.txt

source-repository head
  type: git
  location: https://github.com/massysett/deka.git

Library
  exposed-modules:
      Deka.Dec.Coarbitrary
    , Deka.Dec.Generators
    , Deka.Dec.Shrinkers
    , Deka.Native.Abstract.Coarbitrary
    , Deka.Native.Abstract.Generators
    , Deka.Native.Abstract.Shrinkers
    , Deka.Tests.Util
  hs-source-dirs:
      lib
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , bytestring ((> 0.9.2.1 || == 0.9.2.1) && < 0.11)
    , deka == 0.6.0.2
    , QuickCheck ((> 2.7.3 || == 2.7.3) && < 2.8)
  ghc-options:
      -Wall
  default-language: Haskell2010

Executable deka-dectest
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , bytestring ((> 0.9.2.1 || == 0.9.2.1) && < 0.11)
    , deka == 0.6.0.2
    , QuickCheck ((> 2.7.3 || == 2.7.3) && < 2.8)
    , transformers ((> 0.3.0.0 || == 0.3.0.0) && < 0.5)
    , parsec ((> 3.1.2 || == 3.1.2) && < 3.2)
    , containers ((> 0.4.2.1 || == 0.4.2.1) && < 0.6)
    , pipes ((> 4.1.1 || == 4.1.1) && < 4.2)
  hs-source-dirs:
      dectest
  other-modules:
      Arity
    , Conditions
    , Directives
    , NumTests
    , Operand
    , Parse
    , Parse.Tokenizer
    , Parse.Tokens
    , Result
    , Runner
    , Specials
    , TestHelpers
    , TestLog
    , Types
    , Util
  main-is: deka-dectest.hs
  default-language: Haskell2010
  ghc-options:
      -Wall

Test-Suite deka-native
  build-depends:
      base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8)
    , bytestring ((> 0.9.2.1 || == 0.9.2.1) && < 0.11)
    , deka == 0.6.0.2
    , QuickCheck ((> 2.7.3 || == 2.7.3) && < 2.8)
    , quickpull ((> 0.2.0.0 || == 0.2.0.0) && < 0.3)
  type: exitcode-stdio-1.0
  main-is: deka-native.hs
  hs-source-dirs:
      native
    , lib
  other-modules:
      Deka.Dec.Coarbitrary
    , Deka.Dec.Generators
    , Deka.Dec.Shrinkers
    , Deka.Native.Abstract.Coarbitrary
    , Deka.Native.Abstract.Generators
    , Deka.Native.Abstract.Shrinkers
    , Deka.Tests.Util
    , Decrees
    , Properties
  default-language: Haskell2010
  ghc-options:
      -Wall