]> Git — Sourcephile - haskell/interval.git/blob - interval.cabal
Remove redundant Ord constraints.
[haskell/interval.git] / interval.cabal
1 author: Julien Moutinho <julm+haskell+interval@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/haskell/interval/
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Data Structures
6 -- data-dir: data
7 -- data-files:
8 description: Data types to represent, compare and combine intervals with adherences.
9 .
10 See also:
11 .
12 - https://hackage.haskell.org/package/data-interval
13 - https://hackage.haskell.org/package/intervals
14 extra-source-files:
15 stack.yaml
16 extra-tmp-files:
17 -- homepage: http://pad.autogeree.net/informatique/haskell/interval/
18 license: GPL-3
19 license-file: COPYING
20 maintainer: Julien Moutinho <julm+haskell+interval@autogeree.net>
21 name: interval
22 stability: experimental
23 synopsis: Intervals with adherences.
24 tested-with: GHC==8.0.1
25 version: 1.20161210
26
27 source-repository head
28 location: git://git.autogeree.net/haskell/interval
29 type: git
30
31 Flag dev
32 Default: False
33 Description: Turn on development settings.
34 Manual: True
35
36 Flag dump
37 Default: False
38 Description: Dump some intermediate files.
39 Manual: True
40
41 Flag prof
42 Default: False
43 Description: Turn on profiling settings.
44 Manual: True
45
46 Flag threaded
47 Default: False
48 Description: Enable threads.
49 Manual: True
50
51 Library
52 extensions: NoImplicitPrelude
53 ghc-options: -Wall -fno-warn-tabs
54 if flag(dev)
55 cpp-options: -DDEVELOPMENT
56 ghc-options:
57 if flag(dump)
58 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
59 if flag(prof)
60 cpp-options: -DPROFILING
61 ghc-options: -fprof-auto
62 -- default-language: Haskell2010
63 exposed-modules:
64 Data.Interval
65 Data.Interval.Map.Strict
66 Data.Interval.Sieve
67 build-depends:
68 base >= 4.6 && < 5
69 , containers >= 0.5 && < 0.6
70 -- NOTE: needed for Data.Map.Strict
71 , deepseq
72 , fingertree
73
74 Test-Suite interval-test
75 type: exitcode-stdio-1.0
76 -- default-language: Haskell2010
77 extensions: NoImplicitPrelude
78 ghc-options: -Wall -fno-warn-tabs
79 -main-is Test
80 hs-source-dirs: Data/Interval
81 main-is: Test.hs
82 other-modules:
83 Sieve.Test
84 if flag(threaded)
85 ghc-options: -threaded -rtsopts -with-rtsopts=-N
86 if flag(dev)
87 cpp-options: -DDEVELOPMENT
88 if flag(prof)
89 cpp-options: -DPROFILING
90 ghc-options: -fprof-auto
91 build-depends:
92 base >= 4.6 && < 5
93 , interval
94 , tasty >= 0.11
95 , tasty-hunit