chs-deps-0.1.0.1: chs-deps.cabal
cabal-version: 1.18
name: chs-deps
version: 0.1.0.1
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2019 Vanessa McHale
maintainer: vamchale@gmail.com
author: Vanessa McHale
synopsis: c2hs dependency analyzer
description:
Get c2hs dependencies using [alex](http://hackage.haskell.org/package/alex)
category: CHs, Development, StaticAnalysis
build-type: Simple
data-files: bench/data/Sample.chs
extra-doc-files:
README.md
CHANGELOG.md
source-repository head
type: darcs
location: https://hub.darcs.net/vmchale/chs-deps
flag cross
description: Enable when cross-compiling
default: False
manual: True
library
exposed-modules: Language.Haskell.CHs.Deps
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.3 && <5,
array,
bytestring
if !flag(cross)
build-tool-depends: alex:alex >=3.1.5
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
test-suite chs-deps-test
type: exitcode-stdio-1.0
main-is: Tasty.hs
hs-source-dirs: test
default-language: Haskell2010
other-extensions: OverloadedStrings
ghc-options: -threaded -rtsopts "-with-rtsopts=-N -K1K" -Wall
build-depends:
base,
chs-deps,
tasty,
bytestring >=0.10.0.0,
tasty-hunit
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists
benchmark chs-deps-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
hs-source-dirs: bench
default-language: Haskell2010
ghc-options: -Wall -rtsopts -with-rtsopts=-A5M
build-depends:
base,
chs-deps,
criterion >=1.0.0.0,
bytestring >=0.10.0.0
if impl(ghc >=8.0)
ghc-options:
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities
if impl(ghc >=8.4)
ghc-options: -Wmissing-export-lists