packages feed

cloudevents-haskell-0.1.0.0: cloudevents-haskell.cabal

cabal-version:      2.2
name:               cloudevents-haskell
version:            0.1.0.0
license:            BSD-3-Clause
license-file:       LICENSE
maintainer:         Freckle Education
homepage:           https://github.com/freckle/cloudevents-haskell#readme
bug-reports:        https://github.com/freckle/cloudevents-haskell/issues
synopsis:           Unofficial Haskell SDK for the CloudEvents specification
description:
    See the README on GitHub at <https://github.com/freckle/cloudevents-haskell#readme>

category:           Utils
build-type:         Simple
extra-source-files: package.yaml
extra-doc-files:
    README.md
    CHANGELOG.md

source-repository head
    type:     git
    location: https://github.com/freckle/cloudevents-haskell

library
    exposed-modules:
        CloudEvent.V1.Bindings.Kafka
        CloudEvent.V1.Event.Data
        CloudEvent.V1.Event.Internal.Data
        CloudEvent.V1.Event.Internal.Orphans
        CloudEvent.V1.Event.Lens
        CloudEvent.V1.Event.Validation

    hs-source-dirs:     src
    other-modules:      Paths_cloudevents_haskell
    autogen-modules:    Paths_cloudevents_haskell
    default-language:   GHC2021
    default-extensions:
        ApplicativeDo DataKinds DeriveAnyClass DerivingStrategies
        DerivingVia DuplicateRecordFields GADTs LambdaCase NoFieldSelectors
        NoImplicitPrelude NoMonomorphismRestriction NoPostfixOperators
        OverloadedRecordDot OverloadedStrings QuasiQuotes TypeFamilies

    ghc-options:
        -Weverything -Wno-all-missed-specialisations
        -Wno-missed-specialisations -Wno-missing-exported-signatures
        -Wno-missing-import-lists -Wno-missing-local-signatures
        -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe

    build-depends:
        aeson >=2.0.3.0,
        autodocodec >=0.4.2.2,
        autodocodec-schema >=0.2.0.1,
        base >=4.16.4.0 && <5,
        binary >=0.8.9.0,
        binary-instances >=1.0.4,
        bytestring >=0.11.4.0,
        hw-kafka-client >=5.3.0,
        iri >=0.5.1.1,
        lens >=5.1.1,
        text >=2.0.2,
        time >=1.12.2

    if impl(ghc >=9.8)
        ghc-options:
            -Wno-missing-role-annotations -Wno-missing-poly-kind-signatures

    if impl(ghc >=9.2)
        ghc-options: -Wno-missing-kind-signatures

    if impl(ghc >=8.10)
        ghc-options:
            -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module

    if impl(ghc >=8.8)
        ghc-options: -fwrite-ide-info