cabal-version: 2.4 name: mock-httpd version: 0.0.0.0 synopsis: A HTTP server for testing HTTP clients homepage: https://github.com/pjones/mock-httpd bug-reports: https://github.com/pjones/mock-httpd/issues license: BSD-2-Clause license-file: LICENSE author: Peter Jones maintainer: Peter Jones copyright: Copyright (c) 2020 Peter Jones category: Network description: Given a configuration file describing routes and actions, @mock-httpd@ will bind to the specified ports and respond to incoming HTTP requests. . The primary goal of this project is to provide a simple way to test shell scripts that use . extra-source-files: CHANGES.md example.yml common options default-language: Haskell2010 default-extensions: DeriveAnyClass DeriveGeneric DerivingStrategies DerivingVia FlexibleContexts LambdaCase NamedFieldPuns NumericUnderscores OverloadedStrings RecordWildCards ScopedTypeVariables StandaloneDeriving TupleSections UndecidableInstances ghc-options: -Wall -Wno-name-shadowing -Werror=incomplete-record-updates -Werror=incomplete-uni-patterns -Werror=missing-home-modules -Widentities -Wmissing-export-lists -Wredundant-constraints common dependencies build-depends: , aeson ^>=1.4 , async ^>=2.2 , base >=4.12 && <5.0 , bytestring ^>=0.10 , case-insensitive ^>=1.2 , filepath ^>=1.4 , http-types ^>=0.12 , relude >=0.5 && <0.8 , text ^>=1.2 , wai ^>=3.2 , warp ^>=3.3 , yaml ^>=0.11 mixins: base hiding (Prelude), relude (Relude as Prelude, Relude.Extra.Map) executable mock-httpd import: options, dependencies main-is: Main.hs default-language: Haskell2010