packages feed

freckle-app-1.0.0.4: package.yaml

---
name: freckle-app
version: 1.0.0.4
maintainer: Freckle Education
category: Utils
github: freckle/freckle-app
synopsis: Haskell application toolkit used at Freckle
description: Please see README.md

extra-source-files:
  - README.md
  - CHANGELOG.md
  - package.yaml

flags:
  test-git:
    description: Run tests that run git commands
    manual: true
    default: true

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:
    - Glob
    - MonadRandom
    - aeson
    - ansi-terminal
    - bytestring
    - case-insensitive
    - conduit
    - data-default
    - datadog
    - doctest
    - errors
    - exceptions
    - fast-logger
    - filepath
    - hspec
    - hspec-core
    - hspec-expectations-lifted
    - hspec-junit-formatter
    - http-client
    - http-conduit
    - http-link-header
    - http-types
    - immortal
    - iproute
    - lens
    - load-env
    - monad-control
    - monad-logger
    - mtl
    - network
    - network-uri
    - persistent
    - persistent-postgresql
    - postgresql-simple
    - primitive
    - process
    - resource-pool
    - retry
    - rio
    - text
    - time
    - transformers
    - transformers-base
    - unliftio
    - unliftio-core
    - wai
    - wai-extra
    - yaml
    - yesod-core
    - yesod

tests:
  spec:
    main: Main.hs
    source-dirs: tests
    ghc-options: -threaded -rtsopts "-with-rtsopts=-N"
    dependencies:
      - aeson
      - bytestring
      - freckle-app
      - hspec
      - http-types
      - lens
      - lens-aeson
      - wai
      - wai-extra

  doctest:
    main: Main.hs
    source-dirs: doctest
    dependencies:
      - freckle-app
  gittest:
    main: Main.hs
    source-dirs: gittest
    dependencies:
      - freckle-app
      - directory
      - hspec
      - temporary
      - time
      - process
      - text
    when:
      - condition: flag(test-git)
        then:
          buildable: true
        else:
          buildable: false