packages feed

servant-reason-0.1.2.0: servant-reason.cabal

cabal-version: 1.12

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

name:           servant-reason
version:        0.1.2.0
synopsis:       Derive Reason types to interact with a Haskell backend
description:    Please see the README on GitHub at <https://github.com/abarbu/servant-reason#readme>
category:       Web
homepage:       https://github.com/abarbu/servant-reason#readme
bug-reports:    https://github.com/abarbu/servant-reason/issues
author:         Andrei Barbu
maintainer:     andrei@0xab.com
copyright:      2019 Andrei Barbu
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
    test/reason-sources/BookType.re
    test/reason-sources/getBooksByIdSource.re
    test/reason-sources/getBooksByTitleSource.re
    test/reason-sources/getBooksSource.re
    test/reason-sources/getNothingSource.re
    test/reason-sources/getOneSource.re
    test/reason-sources/getOneWithDynamicUrlSource.re
    test/reason-sources/getWithaheaderSource.re
    test/reason-sources/getWitharesponseheaderSource.re
    test/reason-sources/postBooksSource.re
    test/reason-sources/postTwoSource.re
    test/reason-sources/putNothingSource.re

source-repository head
  type: git
  location: https://github.com/abarbu/servant-reason

library
  exposed-modules:
      Servant.Reason
      Servant.Reason.Internal.Foreign
      Servant.Reason.Internal.Generate
      Servant.Reason.Internal.Orphans
  other-modules:
      Paths_servant_reason
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , lens
    , reason-export >=0.1.1.0
    , servant
    , servant-foreign
    , text
    , wl-pprint-text
  default-language: Haskell2010

test-suite servant-reason-compile-test
  type: exitcode-stdio-1.0
  main-is: CompileSpec.hs
  other-modules:
      Common
      GenerateSpec
      Paths_servant_reason
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -main-is CompileSpec
  build-depends:
      Diff
    , HUnit
    , aeson
    , base >=4.7 && <5
    , directory
    , hspec
    , interpolate
    , lens
    , mockery
    , process
    , reason-export
    , servant
    , servant-foreign
    , servant-reason
    , text
    , wl-pprint-text
  default-language: Haskell2010

test-suite servant-reason-test
  type: exitcode-stdio-1.0
  main-is: GenerateSpec.hs
  other-modules:
      Common
      CompileSpec
      Paths_servant_reason
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -main-is GenerateSpec
  build-depends:
      Diff
    , HUnit
    , aeson
    , base >=4.7 && <5
    , directory
    , hspec
    , interpolate
    , lens
    , mockery
    , process
    , reason-export
    , servant
    , servant-foreign
    , servant-reason
    , text
    , wl-pprint-text
  default-language: Haskell2010