packages feed

hs-duktape-0.1.2: hs-duktape.cabal

name:            hs-duktape
version:         0.1.2
synopsis:        Haskell bindings for a very compact embedded ECMAScript (JavaScript) engine.
category:        Web
homepage:        https://github.com/myfreeweb/hs-duktape
author:          Greg V
copyright:       2015-2016 Greg V <greg@unrelenting.technology>, 2013-2016 Duktape authors
maintainer:      greg@unrelenting.technology
license:         MIT
license-file:    LICENSE
build-type:      Simple
cabal-version:   >= 1.10
extra-source-files:
    README.md
    duktape/src/duktape.c
    duktape/src/duktape.h
tested-with:
    GHC == 7.10.2

source-repository head
    type: git
    location: git://github.com/myfreeweb/hs-duktape.git

library
    build-depends:
        base >= 4.3.0.0 && < 5
      , transformers
      , vector
      , unordered-containers
      , text
      , bytestring
      , aeson
    default-language: Haskell2010
    exposed-modules:
        Scripting.Duktape
        Scripting.Duktape.Raw
    ghc-options: -Wall
    hs-source-dirs: library
    include-dirs: duktape/src
    c-sources: duktape/src/duktape.c
    includes: duktape.h
    install-includes: duktape.h
    cc-options: -Wall -pedantic -std=c99 -fstrict-aliasing -fomit-frame-pointer

test-suite tests
    build-depends:
        base >= 4.3.0.0 && < 5
      , text
      , bytestring
      , hspec
      , hspec-expectations-pretty-diff
      , aeson
      , aeson-qq
      , raw-strings-qq
      , template-haskell
      , hs-duktape
    default-language: Haskell2010
    ghc-options: -threaded -Wall -fhpc
    hs-source-dirs: test-suite
    main-is: Spec.hs
    other-modules:
        TestCommon
        Scripting.DuktapeSpec
    type: exitcode-stdio-1.0