packages feed

wherefrom-compat-0.2.0.0: wherefrom-compat.cabal

cabal-version:   3.0
name:            wherefrom-compat
version:         0.2.0.0
synopsis:        A compatibility layer for GHC's 'wherefrom' function
description:
  A compatibility layer for GHC's 'wherefrom' function,
  which exposes info provenance information.
  Each major version of this library exports 
  a different version of this interface.

license:         BSD-2-Clause
license-file:    LICENSE
author:          Teo Camarasu
maintainer:      teofilcamarasu@gmail.com
copyright:       The wherefrom-compat contributors
build-type:      Simple
extra-doc-files: CHANGELOG.md
bug-reports:     https://codeberg.org/teo/wherefrom-compat/issues
category:        Compatibility
tested-with:     
  GHC ==9.2.8 
  ||  ==9.4.7 
  ||  ==9.6.3 
  ||  ==9.8.1
  ||  ==9.10.1

common warnings
  ghc-options: -Wall

library
  import:           warnings
  exposed-modules:  GHC.InfoProv.Compat
  build-depends:    
      base >=4.16.0.0 && <4.21.0.0
    , ghc-heap >=9.2 && <9.12
  hs-source-dirs:   src
  default-language: Haskell2010

test-suite test
  type:             exitcode-stdio-1.0
  hs-source-dirs:   test
  ghc-options:      -finfo-table-map
  main-is:          Spec.hs
  build-depends:
    , base
    , tasty             ^>=1.5
    , tasty-hunit       ^>=0.10
    , wherefrom-compat

  default-language: Haskell2010

source-repository head
  type:     git
  location: https://codeberg.org/teo/wherefrom-compat.git