File: exact-pi.cabal

package info (click to toggle)
haskell-exact-pi 0.5.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 92 kB
  • sloc: haskell: 346; makefile: 4
file content (54 lines) | stat: -rw-r--r-- 2,049 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name:                exact-pi
version:             0.5.0.2
synopsis:            Exact rational multiples of pi (and integer powers of pi)
description:         Provides an exact representation for rational multiples of pi alongside an approximate representation of all reals.
                     Useful for storing and computing with conversion factors between physical units.
homepage:            https://github.com/dmcclean/exact-pi/
bug-reports:         https://github.com/dmcclean/exact-pi/issues/
license:             MIT
license-file:        LICENSE
author:              Douglas McClean
maintainer:          douglas.mcclean@gmail.com
category:            Data
build-type:          Simple
extra-source-files:  README.md,
                     changelog.md
cabal-version:       >=1.10
tested-with:         GHC == 7.8.4,
                     GHC == 7.10.3,
                     GHC == 8.0.2,
                     GHC == 8.2.2,
                     GHC == 8.4.3,
                     GHC == 8.6.1
library
  exposed-modules:     Data.ExactPi,
                       Data.ExactPi.TypeLevel
  build-depends:       base >=4.7 && <5,
                       numtype-dk >= 0.5
  if impl(ghc <8.0)
    build-depends:
                       semigroups >=0.8
  ghc-options:         -Wall
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite spec
  main-is:             Test.hs
  build-depends:       base >=4.7 && <5,
                       exact-pi,
                       numtype-dk >= 0.5,
                       QuickCheck >=2.10,
                       tasty >=0.10,
                       tasty-hunit >=0.9 && <0.11,
                       tasty-quickcheck >= 0.9 && <0.11
  if impl(ghc < 8.0)
    build-depends:     semigroups >=0.9 && < 1.0
  other-modules:       TestUtils
  type:                exitcode-stdio-1.0
  ghc-options:         -Wall
  hs-source-dirs:      test-suite
  default-language:    Haskell2010

source-repository head
  type:                git
  location:            https://github.com/dmcclean/exact-pi.git