packages feed

interval-1.20160821: interval.cabal

author: Julien Moutinho <julm+haskell+interval@autogeree.net>
-- bug-reports: http://bug.autogeree.net/haskell/interval/
build-type: Simple
cabal-version: >= 1.8
category: Data Structures
-- data-dir: data
-- data-files: 
description: Data types to represent, compare and combine intervals with adherences.
 .
 See also:
 .
 - https://hackage.haskell.org/package/data-interval
 - https://hackage.haskell.org/package/intervals
extra-source-files:
  stack.yaml
extra-tmp-files:
-- homepage: http://pad.autogeree.net/informatique/haskell/interval/
license: GPL-3
license-file: COPYING
maintainer: Julien Moutinho <julm+haskell+interval@autogeree.net>
name: interval
stability: experimental
synopsis: Intervals with adherences.
tested-with: GHC==7.10.3
version: 1.20160821

source-repository head
  location: git://git.autogeree.net/haskell/interval
  type:     git

Flag dev
  Default:     False
  Description: Turn on development settings.
  Manual:      True

Flag dump
  Default:     False
  Description: Dump some intermediate files.
  Manual:      True

Flag prof
  Default:     False
  Description: Turn on profiling settings.
  Manual:      True

Flag threaded
  Default:     False
  Description: Enable threads.
  Manual:      True

Library
  extensions: NoImplicitPrelude
  ghc-options: -Wall -fno-warn-tabs
  if flag(dev)
    cpp-options: -DDEVELOPMENT
    ghc-options:
  if flag(dump)
    ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
  if flag(prof)
    cpp-options: -DPROFILING
    ghc-options: -fprof-auto
  -- default-language: Haskell2010
  exposed-modules:
    Data.Interval
    Data.Interval.Sieve
  build-depends:
    base >= 4.6 && < 5
    , deepseq
    , fingertree

Test-Suite interval-test
  type: exitcode-stdio-1.0
  -- default-language: Haskell2010
  extensions: NoImplicitPrelude
  ghc-options: -Wall -fno-warn-tabs
               -main-is Test
  hs-source-dirs: Data/Interval
  main-is: Test.hs
  other-modules:
    Sieve.Test
  if flag(threaded)
    ghc-options: -threaded -rtsopts -with-rtsopts=-N
  if flag(dev)
    cpp-options: -DDEVELOPMENT
  if flag(prof)
    cpp-options: -DPROFILING
    ghc-options: -fprof-auto
  build-depends:
    base >= 4.6 && < 5
    , interval
    , tasty >= 0.11
    , tasty-hunit