packages feed

timeline-0.1.0.0: timeline.cabal

cabal-version:      2.2
name:               timeline
version:            0.1.0.0
synopsis:
  Data type representing a piecewise-constant function over time

description:
  Provides data types and related function to make handling
  timelines easier.  Please see the README on GitHub at
  <https://github.com/bellroy/timeline>

license:            BSD-3-Clause
license-file:       LICENSE
author:             Bellroy Tech Team <haskell@bellroy.com>
maintainer:         Bellroy Tech Team <haskell@bellroy.com>
category:           Development
build-type:         Simple
tested-with:        GHC ==8.10.7 || ==9.2.6 || ==9.4.4
extra-source-files:
  CHANGELOG.md
  README.md
  test/golden/*.txt

source-repository head
  type:     git
  location: https://github.com/bellroy/timeline.git

common deps
  build-depends:
    , base                 >=4.14.3  && <4.18
    , containers           >=0.6.5   && <0.7
    , hedgehog             >=1.1     && <1.3
    , indexed-traversable  >=0.1.2   && <0.2
    , semigroupoids        >=5.3.7   && <5.4
    , template-haskell     >=2.16.0  && <2.20
    , text                 >=1.2.4.1 && <2.1
    , th-compat            >=0.1.4   && <0.2
    , time                 >=1.9.3   && <1.13

library
  import:           deps
  hs-source-dirs:   src/
  exposed-modules:
    Data.Timeline
    Data.Timeline.Hedgehog

  default-language: Haskell2010
  ghc-options:      -Wall -fno-warn-unused-do-bind -fno-warn-unused-imports

test-suite tests
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  other-modules:      Data.TimelineTest
  default-language:   Haskell2010
  build-tool-depends: tasty-discover:tasty-discover >=4.2 && <5.1
  build-depends:
    , base                 >=4.14.3    && <4.18
    , bytestring           >=0.10      && <0.12
    , containers           >=0.6.5     && <0.7
    , hashable             ^>=1.4.2.0
    , hedgehog             >=1.1       && <1.3
    , indexed-traversable  ^>=0.1.2
    , tasty                ^>=1.4.3
    , tasty-golden         ^>=2.3.5
    , tasty-hedgehog       >=1.2.0.0
    , tasty-hunit          ^>=0.10.0.3
    , text                 >=1.2.4.1   && <2.1
    , time                 >=1.9.3     && <1.13
    , timeline
    , transformers         ^>=0.5.6.2