packages feed

graphula-2.0.2.2: graphula.cabal

cabal-version:      1.12
name:               graphula
version:            2.0.2.2
license:            MIT
license-file:       LICENSE
maintainer:         Freckle Education
homepage:           https://github.com/freckle/graphula#readme
bug-reports:        https://github.com/freckle/graphula/issues
synopsis:
    A simple interface for generating persistent data and linking its dependencies

description:        Please see README.md
category:           Network
build-type:         Simple
extra-source-files:
    README.md
    CHANGELOG.md

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

flag persistent-template
    description: Include dependency on persistent-template
    default:     False

library
    exposed-modules:
        Graphula
        Graphula.Arbitrary
        Graphula.Class
        Graphula.Dependencies
        Graphula.Dependencies.Generic
        Graphula.Idempotent
        Graphula.Key
        Graphula.Logged
        Graphula.NoConstraint
        Graphula.Node

    hs-source-dirs:   src
    other-modules:    Paths_graphula
    default-language: Haskell2010
    ghc-options:
        -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude
        -Wno-missing-import-lists -Wno-safe -Wno-unsafe

    build-depends:
        HUnit,
        QuickCheck,
        base >=4.11.1.0 && <5,
        containers,
        directory,
        generics-eot,
        mtl,
        persistent,
        random,
        semigroups,
        temporary,
        text,
        unliftio,
        unliftio-core

    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.6)
        ghc-options: -Wno-redundant-constraints

test-suite readme
    type:             exitcode-stdio-1.0
    main-is:          README.lhs
    hs-source-dirs:   test
    other-modules:    Paths_graphula
    default-language: Haskell2010
    ghc-options:
        -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude
        -Wno-missing-import-lists -Wno-safe -Wno-unsafe -pgmL
        markdown-unlit

    build-depends:
        QuickCheck,
        base >=4.11.1.0 && <5,
        generic-arbitrary,
        graphula,
        hspec,
        markdown-unlit,
        monad-logger,
        persistent,
        persistent-sqlite,
        resourcet,
        transformers,
        unliftio-core

    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.6)
        ghc-options: -Wno-redundant-constraints

    if impl(ghc >=8.8)
        ghc-options: -Wno-missing-deriving-strategies

    if flag(persistent-template)
        build-depends: persistent-template