name: freckle-app
version: 1.9.0.2
maintainer: Freckle Education
category: Utils
github: freckle/freckle-app
synopsis: Haskell application toolkit used at Freckle
description: Please see README.md
extra-doc-files:
- README.md
- CHANGELOG.md
extra-source-files:
- package.yaml
ghc-options:
- -fignore-optim-changes
- -Weverything
- -Wno-all-missed-specialisations
- -Wno-missing-exported-signatures # re-enables missing-signatures
- -Wno-missing-import-lists
- -Wno-missing-local-signatures
- -Wno-monomorphism-restriction
- -Wno-safe
- -Wno-unsafe
when:
- condition: "impl(ghc >= 9.2)"
ghc-options:
- -Wno-missing-kind-signatures
- condition: "impl(ghc >= 8.10)"
ghc-options:
- -Wno-missing-safe-haskell-mode
- -Wno-prepositive-qualified-module
- condition: "impl(ghc >= 8.8)"
ghc-options:
- -fwrite-ide-info
dependencies:
- base < 5
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
library:
source-dirs: library
dependencies:
- Blammo
- Glob
- MonadRandom
- aeson
- aws-xray-client-persistent
- aws-xray-client-wai
- bugsnag
- bytestring
- case-insensitive
- cassava
- conduit
- conduit-extra
- containers
- datadog
- doctest
- dotenv
- ekg-core
- envparse
- errors
- exceptions
- extra
- filepath
- hashable
- hspec >= 2.8.1
- hspec-core >= 2.8.1
- hspec-expectations-lifted
- hspec-junit-formatter >= 1.1.0.1
- http-client
- http-conduit >= 2.3.5 # addToRequestQueryString
- http-link-header
- http-types
- immortal
- lens
- memcache
- monad-control
- monad-validate
- mtl
- network-uri
- nonempty-containers
- path-pieces
- persistent
- persistent-postgresql
- postgresql-simple
- primitive
- resourcet
- resource-pool
- retry >= 0.8.1.0 # retryingDynamic
- safe
- scientist
- semigroupoids
- template-haskell
- text
- time
- transformers
- transformers-base
- typed-process
- unliftio
- unliftio-core
- unordered-containers
- vector
- wai
- wai-extra
- yaml
- yesod-core
tests:
spec:
main: Main.hs
source-dirs: tests
ghc-options: -threaded -rtsopts "-with-rtsopts=-N"
dependencies:
- Blammo
- QuickCheck
- aeson
- bugsnag
- bytestring
- cassava
- conduit
- errors
- freckle-app
- hspec
- http-types
- lens
- lens-aeson
- memcache
- postgresql-simple
- monad-validate
- nonempty-containers
- unliftio
- vector
- wai
- wai-extra
doctest:
main: Main.hs
source-dirs: doctest
dependencies:
- freckle-app