packages feed

elm-export-0.5.0.0: elm-export.cabal

name: elm-export
version: 0.5.0.0
cabal-version: >=1.10
build-type: Simple
license: OtherLicense
license-file: LICENSE.txt
copyright: 2015-2016 Kris Jenkins
maintainer: kris.jenkins@clearercode.com
stability: alpha
homepage: http://github.com/krisajenkins/elm-export
synopsis: A library to generate Elm types from Haskell source.
description:
    Generate Elm source code automatically from Haskell types. Using GHC.Generics, we can automatically derive Elm type declarations, and Aeson-compatible JSON decoders & encoders.
category: Web
author: Kris Jenkins

source-repository head
    type: git
    location: https://github.com/krisajenkins/elm-export

library
    exposed-modules:
        Elm
    build-depends:
        base >=4.7 && <5,
        bytestring >=0.10.6.0 && <0.11,
        containers >=0.5.6.2 && <0.6,
        directory >=1.2.2.0 && <1.3,
        formatting >=6.2.2 && <6.3,
        mtl >=2.2.1 && <2.3,
        text >=1.2.2.1 && <1.3,
        time >=1.5.0.1 && <1.6
    default-language: Haskell2010
    hs-source-dirs: src
    other-modules:
        Elm.Type
        Elm.Common
        Elm.Decoder
        Elm.Encoder
        Elm.File
        Elm.Record
    ghc-options: -Wall

test-suite elm-export-test
    type: exitcode-stdio-1.0
    main-is: Spec.hs
    build-depends:
        QuickCheck >=2.8.2 && <2.9,
        base >=4.8.2.0 && <4.9,
        bytestring >=0.10.6.0 && <0.11,
        containers >=0.5.6.2 && <0.6,
        elm-export >=0.5.0.0 && <0.6,
        hspec >=2.2.3 && <2.3,
        hspec-core >=2.2.3 && <2.3,
        quickcheck-instances >=0.3.12 && <0.4,
        text >=1.2.2.1 && <1.3,
        time >=1.5.0.1 && <1.6
    default-language: Haskell2010
    hs-source-dirs: test
    other-modules:
        ExportSpec
        TypesSpec
    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall