packages feed

bugsnag-yesod-1.0.1.3: bugsnag-yesod.cabal

cabal-version:   1.18
name:            bugsnag-yesod
version:         1.0.1.3
license:         MIT
license-file:    LICENSE
maintainer:      pbrisbin@gmail.com
author:          Patrick Brisbin
homepage:        https://codeberg.org/pbrisbin/bugsnag-haskell#readme
synopsis:        Yesod integration for Bugsnag error reporting for Haskell
description:     Please see README.md
category:        Web
build-type:      Simple
extra-doc-files:
    CHANGELOG.md
    README.md

flag examples
    description: Build the examples
    default:     False

library
    exposed-modules:    Network.Bugsnag.Yesod
    hs-source-dirs:     src
    other-modules:      Paths_bugsnag_yesod
    default-language:   Haskell2010
    default-extensions:
        BangPatterns DataKinds DeriveAnyClass DeriveFoldable DeriveFunctor
        DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
        FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
        LambdaCase MultiParamTypeClasses NoImplicitPrelude
        NoMonomorphismRestriction OverloadedStrings RankNTypes
        RecordWildCards ScopedTypeVariables StandaloneDeriving
        TypeApplications TypeFamilies

    build-depends:
        annotated-exception >=0.2.0.4,
        base >=4.11.0 && <5,
        bugsnag >=1.0.0.0,
        bugsnag-wai >=1.0.0.0,
        unliftio >=0.2.25.0,
        wai >=3.2.3,
        yesod-core >=1.6.24.2

executable example-yesod
    main-is:            Main.hs
    hs-source-dirs:     example
    other-modules:      Paths_bugsnag_yesod
    default-language:   Haskell2010
    default-extensions:
        BangPatterns DataKinds DeriveAnyClass DeriveFoldable DeriveFunctor
        DeriveGeneric DeriveLift DeriveTraversable DerivingStrategies
        FlexibleContexts FlexibleInstances GADTs GeneralizedNewtypeDeriving
        LambdaCase MultiParamTypeClasses NoImplicitPrelude
        NoMonomorphismRestriction OverloadedStrings RankNTypes
        RecordWildCards ScopedTypeVariables StandaloneDeriving
        TypeApplications TypeFamilies

    build-depends:
        base >=4.11.0 && <5,
        bugsnag >=1.0.0.0,
        bugsnag-yesod,
        warp >=3.3.23,
        yesod-core >1.6

    if !flag(examples)
        buildable: False