packages feed

polysemy-time-0.1.0.0: polysemy-time.cabal

cabal-version: 2.2

-- This file has been generated from package.yaml by hpack version 0.34.2.
--
-- see: https://github.com/sol/hpack

name:           polysemy-time
version:        0.1.0.0
synopsis:       Polysemy effect for time
description:    Please see the readme on Github at <https://github.com/tek/polysemy-time>
category:       Time
author:         Torsten Schmits
maintainer:     tek@tryp.io
copyright:      2020 Torsten Schmits
license:        BSD-2-Clause-Patent
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    readme.md
    changelog.md

library
  exposed-modules:
      Polysemy.Time
      Polysemy.Time.At
      Polysemy.Time.Calendar
      Polysemy.Time.Data.Time
      Polysemy.Time.Data.TimeUnit
      Polysemy.Time.Debug
      Polysemy.Time.Ghc
      Polysemy.Time.Orphans
      Polysemy.Time.Prelude
      Polysemy.Time.Sleep
      Paths_polysemy_time
  other-modules:
      Prelude
  autogen-modules:
      Paths_polysemy_time
  hs-source-dirs:
      lib
  default-extensions: AllowAmbiguousTypes ApplicativeDo BangPatterns BinaryLiterals BlockArguments ConstraintKinds DataKinds DefaultSignatures DeriveAnyClass DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DerivingStrategies DerivingVia DisambiguateRecordFields DoAndIfThenElse DuplicateRecordFields EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase LiberalTypeSynonyms MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings OverloadedLists PackageImports PartialTypeSignatures PatternGuards PatternSynonyms PolyKinds QuantifiedConstraints QuasiQuotes RankNTypes RecordWildCards RecursiveDo ScopedTypeVariables StandaloneDeriving TemplateHaskell TupleSections TypeApplications TypeFamilies TypeFamilyDependencies TypeOperators TypeSynonymInstances UndecidableInstances UnicodeSyntax ViewPatterns
  ghc-options: -flate-specialise -fspecialise-aggressively -Wall
  build-depends:
      aeson >=1.4 && <1.5
    , base >=4 && <5
    , composition >=1.0 && <1.1
    , containers
    , data-default >=0.7 && <0.8
    , either
    , polysemy >=1.3.0 && <1.4
    , relude >=0.7 && <0.8
    , string-interpolate >=0.1 && <0.4
    , template-haskell
    , text
    , time
    , torsor >=0.1 && <0.2
  mixins:
      base hiding (Prelude)
  if impl(ghc < 8.10)
    ghc-options: -O2
  default-language: Haskell2010

test-suite polysemy-time-unit
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
      Polysemy.Time.GhcTimeTest
      Paths_polysemy_time
  hs-source-dirs:
      test
  default-extensions: AllowAmbiguousTypes ApplicativeDo BangPatterns BinaryLiterals BlockArguments ConstraintKinds DataKinds DefaultSignatures DeriveAnyClass DeriveDataTypeable DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable DerivingStrategies DerivingVia DisambiguateRecordFields DoAndIfThenElse DuplicateRecordFields EmptyDataDecls ExistentialQuantification FlexibleContexts FlexibleInstances FunctionalDependencies GADTs GeneralizedNewtypeDeriving InstanceSigs KindSignatures LambdaCase LiberalTypeSynonyms MultiParamTypeClasses MultiWayIf NamedFieldPuns OverloadedStrings OverloadedLists PackageImports PartialTypeSignatures PatternGuards PatternSynonyms PolyKinds QuantifiedConstraints QuasiQuotes RankNTypes RecordWildCards RecursiveDo ScopedTypeVariables StandaloneDeriving TemplateHaskell TupleSections TypeApplications TypeFamilies TypeFamilyDependencies TypeOperators TypeSynonymInstances UndecidableInstances UnicodeSyntax ViewPatterns
  ghc-options: -flate-specialise -fspecialise-aggressively -Wall -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin
  build-depends:
      aeson >=1.4 && <1.5
    , base >=4 && <5
    , composition >=1.0 && <1.1
    , containers
    , data-default >=0.7 && <0.8
    , either
    , hedgehog
    , polysemy >=1.3.0 && <1.4
    , polysemy-plugin
    , polysemy-test
    , polysemy-time
    , relude >=0.7 && <0.8
    , string-interpolate >=0.1 && <0.4
    , tasty
    , tasty-hedgehog
    , template-haskell
    , text
    , time
    , torsor >=0.1 && <0.2
  mixins:
      base hiding (Prelude)
    , polysemy-time hiding (Prelude)
    , polysemy-time (Polysemy.Time.Prelude as Prelude)
  if impl(ghc < 8.10)
    ghc-options: -O2
  default-language: Haskell2010