packages feed

burrito-1.0.2.0: burrito.cabal

name: burrito
version: 1.0.2.0

synopsis: Parse and render URI templates.
description:
  Burrito is a Haskell library for parsing and rendering URI templates.
  .
  According to [RFC 6570](https://tools.ietf.org/html/rfc6570): "A URI Template
  is a compact sequence of characters for describing a range of Uniform
  Resource Identifiers through variable expansion." Burrito implements URI
  templates according to the specification in that RFC.
  .
  The term "uniform resource identifiers" (URI) is often used interchangeably
  with other related terms like "internationalized resource identifier" (IRI),
  "uniform resource locator" (URL), and "uniform resource name" (URN). Burrito
  can be used for all of these. If you want to get technical, its input must be
  a valid IRI and its output will be a valid URI or URN.
  .
  Although Burrito is primarily intended to be used with HTTP and HTTPS URIs,
  it should work with other schemes as well.

build-type: Simple
cabal-version: >= 1.10
category: Network
extra-source-files: README.markdown
license-file: LICENSE.markdown
license: ISC
maintainer: Taylor Fausak

source-repository head
  location: https://github.com/tfausak/burrito
  type: git

library
  build-depends:
    base >= 4.12.0 && < 4.15
    , template-haskell >= 2.14.0 && < 2.17
  default-language: Haskell98
  exposed-modules:
    Burrito
    Burrito.Expand
    Burrito.Parse
    Burrito.Render
    Burrito.TH
    Burrito.Type.Expression
    Burrito.Type.LitChar
    Burrito.Type.Literal
    Burrito.Type.Modifier
    Burrito.Type.Name
    Burrito.Type.NonEmpty
    Burrito.Type.Operator
    Burrito.Type.Template
    Burrito.Type.Token
    Burrito.Type.Value
    Burrito.Type.VarChar
    Burrito.Type.Variable
  ghc-options:
    -Weverything
    -Wno-all-missed-specialisations
    -Wno-implicit-prelude
    -Wno-missing-exported-signatures
    -Wno-safe
  hs-source-dirs: src/lib

  if impl(ghc >= 8.8)
    ghc-options:
      -Wno-missing-deriving-strategies

  if impl(ghc >= 8.10)
    ghc-options:
      -Wno-missing-safe-haskell-mode
      -Wno-prepositive-qualified-module

test-suite test
  build-depends:
    base -any
    , burrito -any
    , hspec >= 2.7.1 && < 2.8
    , QuickCheck >= 2.13.2 && < 2.14
  default-language: Haskell98
  hs-source-dirs: src/test
  main-is: Main.hs
  type: exitcode-stdio-1.0