packages feed

constraints-extras-0.4.0.2: constraints-extras.cabal

name: constraints-extras
version: 0.4.0.2
synopsis: Utility package for constraints
description: Convenience functions and TH for working with constraints. See <https://github.com/obsidiansystems/constraints-extras/blob/develop/README.md README.md> for example usage.
category: Constraints
license: BSD3
license-file: LICENSE
author: Cale Gibbard, Ali Abrar
maintainer: maintainer@obsidian.systems
homepage: https://github.com/obsidiansystems/constraints-extras
bug-reports: https://github.com/obsidiansystems/constraints-extras/issues
copyright: Obsidian Systems LLC
build-type: Simple
cabal-version: 2.0
tested-with:
  GHC ==8.6.5 || ==8.8.4 || ==8.10.7
   || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.1
extra-doc-files: ChangeLog.md
extra-source-files: README.md

flag build-readme
  default: True

library
  exposed-modules: Data.Constraint.Extras
                 , Data.Constraint.Extras.TH
                 , Data.Constraint.Compose
                 , Data.Constraint.Flip
  other-extensions: LambdaCase
                  , MultiParamTypeClasses
                  , QuasiQuotes
                  , TypeFamilies
                  , TypeOperators
                  , ConstraintKinds
                  , TemplateHaskell
  build-depends: base >=4.9 && <4.23
               , constraints >= 0.9 && < 0.15
               , template-haskell >=2.11 && <2.24

  hs-source-dirs:  src
  default-language: Haskell2010

  -- This is needed to get around a bug/misfeature in the cabal solver which is choosing an
  -- old version of aeson (0.9.*) for some reason.
  if impl (ghc >= 9.12)
    build-depends: aeson >= 2


executable readme
  if !flag(build-readme)
    buildable: False
  build-depends: base
               , aeson
               , constraints
               , constraints-extras
  main-is: README.lhs
  ghc-options: -Wall -optL -q
  default-language: Haskell2010

source-repository head
  type:     git
  location: git://github.com/obsidiansystems/constraints-extras.git