packages feed

katip-effectful-0.0.1: katip-effectful.cabal

cabal-version:   3.4

-- The cabal-version field refers to the version of the .cabal specification,
-- and can be different from the cabal-install (the tool) version and the
-- Cabal (the library) version you are using. As such, the Cabal (the library)
-- version used must be equal or greater than the version stated in this field.
-- Starting from the specification version 2.2, the cabal-version field must be
-- the first thing in the cabal file.

-- Initial package description 'placeholder' generated by
-- 'cabal init'. For further documentation, see:
--   http://haskell.org/cabal/users-guide/
--
-- The name of the package.
name:            katip-effectful

-- The package version.
-- See the Haskell package versioning policy (PVP) for standards
-- guiding when and how versions should be incremented.
-- https://pvp.haskell.org
version:         0.0.1

-- A short (one-line) description of the package.
synopsis:        Katip integration for Effectful

-- A longer description of the package.
description:
  Provides a Katip and KatipContext instance for the Eff Monad and re-exports all of Katip's API

homepage:        https://github.com/eldritch-cookie/katip-effectful

-- The license under which the package is released.
license:         BSD-3-Clause

-- The file containing the license text.
license-file:    LICENSE

-- The package author(s).
author:          Eldritch Cookie

-- An email address to which users can send suggestions, bug reports, and patches.
maintainer:      eldritch.cookie@disroot.org

-- A copyright notice.
-- copyright:
build-type:      Simple
bug-reports:     https://github.com/eldritch-cookie/katip-effectful/issues

-- Extra doc files to be distributed with the package, such as a CHANGELOG or a README.
extra-doc-files: CHANGELOG.md
category:        library, logging, data, bsd3

-- Extra source files to be distributed with the package, such as examples, or a tutorial module.
-- extra-source-files:

common deps
  ghc-options:        -Wall
  build-depends:
    , base              >=4.17.2   && <5
    , effectful-core    >=2.2.2    && <3
    , effectful-plugin  >=1.1.0.2  && <1.2
    , katip             >=0.8.7    && <1
    , template-haskell  >=2.19.0.0 && <2.20
    , text              >=2.0.2    && <3

  default-extensions:
    DataKinds
    DerivingStrategies
    DerivingVia
    DuplicateRecordFields
    FunctionalDependencies
    NoCUSKs
    NoFieldSelectors
    NoStarIsType
    OverloadedRecordDot
    OverloadedStrings
    QuantifiedConstraints
    ScopedTypeVariables
    TypeFamilyDependencies
    TypeOperators

  default-language:   GHC2021

library
  import:          deps
  exposed-modules: Effectful.Katip
  hs-source-dirs:  src

test-suite katip-effectful-test
  import:             deps
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Main.hs
  other-modules:      OutputTest
  ghc-options:        -threaded
  build-depends:
    , containers            >=0.6.7    && <1
    , katip-effectful
    , QuickCheck            >=2.14.3   && <3
    , quickcheck-instances  >=0.3.29.1 && <0.4
    , tasty                 >=1.4.3    && <2
    , tasty-golden          >=2.3.5    && <3
    , tasty-hunit           >=0.10.1   && <1
    , tasty-quickcheck      >=0.10.2   && <1
    , text                  >=2.0.2    && <3
    , time                  >=1.12.2   && <2
    , unix                  >=2.7.3    && <3

  build-tool-depends: tasty-discover:tasty-discover

source-repository head
  type:     git
  location: https://github.com/eldritch-cookie/katip-effectful