packages feed

oasis-xrd-1.0: oasis-xrd.cabal

-- This file has been generated from package.yaml by hpack version 0.20.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: bf4eeceb8339d4f976b41b82515ff3e6378b9f732d3d9a4b0257eeb8271a7ddf

name:           oasis-xrd
version:        1.0
synopsis:       Extensible Resource Descriptor
description:    Types and encodings for "XRD, a simple generic format for describing resources".
category:       Web
homepage:       https://github.com/wiz/oasis-xrd#readme
author:         Alexander Bondarenko
maintainer:     aenor.realm@gmail.com
copyright:      2018 Alexander Bondarenko
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

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

library
  hs-source-dirs:
      lib
  ghc-options: -Wall
  build-depends:
      aeson >=1.2 && <2.0
    , base >=4.10 && <5.0
    , bytestring >=0.10 && <1.0
    , containers >=0.5 && <0.6
    , text >=1.2 && <2.0
    , time >=1.8 && <2.0
    , uri-bytestring >=0.3 && <0.4
    , xml-conduit >=1.8 && <2.0
    , xml-conduit-writer >=0.1 && <0.2
  exposed-modules:
      Data.XRD.JSON
      Data.XRD.Types
      Data.XRD.XML
  other-modules:
      Paths_oasis_xrd
  default-language: Haskell2010

test-suite example-json
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      tests/example-common
      tests/example-json
  ghc-options: -Wall
  build-depends:
      aeson >=1.2 && <2.0
    , aeson-pretty >=0.8 && <1.0
    , base >=4.10 && <5.0
    , bytestring >=0.10 && <1.0
    , containers >=0.5 && <0.6
    , oasis-xrd
    , text >=1.2 && <2.0
    , time >=1.8 && <2.0
    , uri-bytestring >=0.3 && <0.4
    , xml-conduit >=1.8 && <2.0
    , xml-conduit-writer >=0.1 && <0.2
  other-modules:
      Utils
      Paths_oasis_xrd
  default-language: Haskell2010

test-suite example-xml
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs:
      tests/example-common
      tests/example-xml
  ghc-options: -Wall
  build-depends:
      aeson >=1.2 && <2.0
    , base >=4.10 && <5.0
    , bytestring >=0.10 && <1.0
    , containers >=0.5 && <0.6
    , oasis-xrd
    , text >=1.2 && <2.0
    , time >=1.8 && <2.0
    , uri-bytestring >=0.3 && <0.4
    , xml-conduit >=1.8 && <2.0
    , xml-conduit-writer >=0.1 && <0.2
  other-modules:
      Utils
      Paths_oasis_xrd
  default-language: Haskell2010