packages feed

om-elm-2.0.1.2: om-elm.cabal

cabal-version:       3.0
name:                om-elm
version:             2.0.1.2
synopsis:            Haskell utilities for building embedded Elm programs.
description:         This package provides utilities for serving Elm programs
                     directly from your Haskell binary. It uses TemplateHaskell
                     to compile your Elm program at build time, and construct a
                     WAI Middleware which intercepts requests appropriate to
                     the Elm program, and passing other requests to a
                     downstream WAI Application. It is useful for bundling the
                     browser side of a web application with its backing web
                     services implementation.
homepage:            https://github.com/owensmurray/om-elm
license:             MIT
license-file:        LICENSE
author:              Rick Owens
maintainer:          rick@owensmurray.com
copyright:           2025 Owens Murray, LLC.
category:            Web
build-type:          Simple
extra-source-files:  README.md


common warnings
  ghc-options:
    -Wall
    -Wmissing-deriving-strategies
    -Wmissing-export-lists
    -Wmissing-import-lists
    -Wredundant-constraints


library
  import: warnings
  exposed-modules:     
    System.Elm.Middleware
  -- other-modules:       
  -- other-extensions:    
  build-depends:
    , Cabal            >= 3.8.1.0   && < 3.17
    , base             >= 4.15.1.0  && < 4.23
    , bytestring       >= 0.11.3.1  && < 0.13
    , containers       >= 0.6.4.1   && < 0.9
    , directory        >= 1.3.6.2   && < 1.4
    , http-types       >= 0.12.3    && < 0.13
    , safe             >= 0.3.19    && < 0.4
    , safe-exceptions  >= 0.1.7.3   && < 0.2
    , template-haskell >= 2.17.0.0  && < 2.25
    , text             >= 2.0.1     && < 2.2
    , unix             >= 2.7.2.2   && < 2.9
    , wai              >= 3.2.3     && < 3.3
  hs-source-dirs: src
  default-language: Haskell2010