packages feed

hspec-effectful-0.1.0.0: hspec-effectful.cabal

cabal-version: 3.0
name: hspec-effectful
version: 0.1.0.0
synopsis: Effectful driver for Hspec
category: Test
description:
  Adaptation of the @<https://hackage.haskell.org/package/hspec Hspec>@ library for the @<https://hackage.haskell.org/package/effectful effectful>@ ecosystem.

license: EUPL-1.2
license-file: LICENCE
author: IDA
maintainer: IDA
homepage: https://digital-autonomy.institute
bug-reports: https://issues.digital-autonomy.institute
build-type: Simple
extra-doc-files:
  CHANGELOG.md

common common
  default-language: GHC2021
  ghc-options:
    -Weverything
    -Wno-unsafe
    -Wno-missing-safe-haskell-mode
    -Wno-missing-export-lists
    -Wno-missing-import-lists
    -Wno-missing-kind-signatures
    -Wno-all-missed-specialisations

  default-extensions:
    ApplicativeDo
    BlockArguments
    DataKinds
    DefaultSignatures
    DeriveAnyClass
    DeriveGeneric
    DerivingStrategies
    DerivingVia
    ExplicitNamespaces
    GeneralizedNewtypeDeriving
    LambdaCase
    NoImplicitPrelude
    OverloadedLabels
    OverloadedRecordDot
    OverloadedStrings
    RecordWildCards
    RecursiveDo
    TypeFamilies
    ViewPatterns

  build-depends:
    base >=4.16 && <5,
    effectful >=2.6 && <2.7,

library
  import: common
  hs-source-dirs: src
  build-depends:
    hspec >=2.11 && <2.12,
    hspec-core >=2.11 && <2.12,
    hspec-expectations >=0.8 && <0.9,
    hspec-expectations-pretty-diff >=0.7 && <0.8,
    hunit-effectful >=1.0 && <1.1,

  exposed-modules:
    Effectful.Hspec

test-suite test
  import: common
  type: exitcode-stdio-1.0
  ghc-options: -threaded
  hs-source-dirs: test
  main-is: Main.hs
  build-depends:
    hspec-effectful