packages feed

ats-storable-0.1.0.3: ats-storable.cabal

name:                ats-storable
version:             0.1.0.3
synopsis:            Marshal ATS types into Haskell
description:         Facilities for sharing types between ATS and Haskell
homepage:            https://github.com//ats-generic#readme
license:             BSD3
license-file:        LICENSE
author:              Vanessa McHale
maintainer:          vamchale@gmail.com
copyright:           Copyright: (c) 2018 Vanessa McHale
category:            ATS, Generics
build-type:          Custom
extra-source-files:  cbits/ats-generic.c
extra-doc-files:     README.md
cabal-version:       >=1.18

Flag development {
  Description: Enable `-Werror`
  manual: True
  default: False
}

custom-setup
  setup-depends:      base >= 4.7 && < 5, 
                      -- ats-setup >= 0.1.0.2,
                      Cabal

library
  -- c-sources:           cbits/ats-generic.c
  -- include-dirs:        ats-deps/prelude/ATS2-Postiats-include-0.3.9/ccomp/runtime
  --                    , ats-deps/prelude/ATS2-Postiats-include-0.3.9
  hs-source-dirs:      src
  exposed-modules:     Foreign.Storable.ATS
  build-depends:       base >= 4.7 && < 5
                     , composition-prelude
  default-language:    Haskell2010
  if flag(development)
    ghc-options:       -Werror
  if impl(ghc >= 8.0)
    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat 
  ghc-options:         -Wall

test-suite ats-generic-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , ats-storable
                     , hspec
  if flag(development)
    ghc-options: -Werror
  if impl(ghc >= 8.0)
    ghc-options:       -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat 
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -Wall
  default-language:    Haskell2010

source-repository head
  type:     darcs
  location: https://hub.darcs.net/vmchale/ats