packages feed

prairie-0.0.3.0: prairie.cabal

cabal-version: 1.12

name:           prairie
version:        0.0.3.0
description:    Please see the README on GitHub at <https://github.com/parsonsmatt/prairie#readme>
homepage:       https://github.com/parsonsmatt/prairie#readme
bug-reports:    https://github.com/parsonsmatt/prairie/issues
author:         Matt Parsons
maintainer:     parsonsmatt@gmail.com
copyright:      2020 Matt Parsons
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
synopsis: A first class record field library
category: Data

source-repository head
  type: git
  location: https://github.com/parsonsmatt/prairie

library
  exposed-modules:
      Prairie
      Prairie.Class
      Prairie.Update
      Prairie.Diff
      Prairie.Fold
      Prairie.Traverse
      Prairie.TH

  build-depends:
      base              >= 4.13 && < 5
    , aeson             
    , constraints
    , containers
    , lens
    , template-haskell  >= 2.15 && < 2.22
    , text

  other-modules:
      Paths_prairie
  hs-source-dirs:
      src
  default-language: Haskell2010

  default-extensions:
    AllowAmbiguousTypes
    BlockArguments
    DataKinds
    DefaultSignatures
    DeriveGeneric
    DerivingStrategies
    ExplicitForAll
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    KindSignatures
    MultiParamTypeClasses
    NamedFieldPuns
    NoStarIsType
    OverloadedStrings
    QuantifiedConstraints
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    TemplateHaskell
    TypeApplications
    TypeFamilies
    TypeOperators
    StandaloneDeriving
    UndecidableInstances
    ConstraintKinds
    ViewPatterns

test-suite prairie-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_prairie
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , prairie
    , aeson
    , lens
    , hspec
  default-language: Haskell2010