packages feed

reflex-monad-auth-0.1.0.0: reflex-monad-auth.cabal

name:                reflex-monad-auth
version:             0.1.0.0
synopsis:            Utilities to split reflex app to authorized and not authorized contexts
description:         See README.md
license:             MIT
license-file:        LICENSE
copyright:           2020 Anton Gushcha
category:            Web
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:
  README.md
  CHANGELOG.md

flag examples
  default: False
  manual: True
  description: Build examples executables.

library
  hs-source-dirs:      src
  exposed-modules:
    Reflex.Auth
    Reflex.Auth.Class
    Reflex.Auth.Trans
  build-depends:
      base                    >= 4.7      && < 4.15
    , jsaddle                 >= 0.9      && < 0.10
    , mtl                     >= 2.1      && < 2.3
    , reflex                  >= 0.4      && < 0.9
    , reflex-external-ref     >= 1.0      && < 1.1
  default-language:    Haskell2010
  default-extensions:
    BangPatterns
    ConstraintKinds
    CPP
    DataKinds
    DeriveDataTypeable
    DeriveGeneric
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    LambdaCase
    OverloadedStrings
    RankNTypes
    RecordWildCards
    RecursiveDo
    ScopedTypeVariables
    StandaloneDeriving
    TemplateHaskell
    TupleSections
    TypeApplications
    TypeFamilies
    TypeOperators
    UndecidableInstances

executable reflex-monad-auth-example
  hs-source-dirs: example
  if flag(examples)
    buildable: True
  else
    buildable: False
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base
    , containers
    , raw-strings-qq
    , reflex
    , reflex-dom
    , reflex-monad-auth
    , text

  default-language:    Haskell2010
  default-extensions:
    BangPatterns
    ConstraintKinds
    DataKinds
    DeriveDataTypeable
    DeriveGeneric
    FlexibleContexts
    FlexibleInstances
    FunctionalDependencies
    GADTs
    GeneralizedNewtypeDeriving
    LambdaCase
    OverloadedStrings
    RankNTypes
    RecordWildCards
    ScopedTypeVariables
    StandaloneDeriving
    TemplateHaskell
    TupleSections
    TypeApplications
    TypeFamilies
    TypeOperators

source-repository head
  type: git
  location: https://github.com/ncrashed/reflex-monad-auth