packages feed

hdocs-0.4.1.0: hdocs.cabal

name:                hdocs
version:             0.4.1.0
synopsis:            Haskell docs tool
description:
  Tool and library to get docs for installed packages and source files.
  Can return result in JSON format.
  Can dump docs for all installed modules
  .
  @Usage:
  hdocs <module> - get docs for module/file
  hdocs <module> <name> - get docs for name in module/file
  hdocs dump [r] - dump all installed docs, if [r], find docs for reexported declarations

  flags
  --pretty       pretty JSON output
  -g GHC_OPT  --ghc=GHC_OPT  option to pass to GHC
  @
homepage:            https://github.com/mvoidex/hdocs
license:             BSD3
license-file:        LICENSE
author:              Alexandr `Voidex` Ruchkin
maintainer:          voidex@live.com
category:            Development
build-type:          Simple
cabal-version:       >=1.8

library
  hs-source-dirs: src
  exposed-modules:
    HDocs.Base
    HDocs.Haddock
    HDocs.Module
  build-depends:
    base >= 4.7 && < 5,
    aeson >= 0.7.0,
    bytestring >= 0.10.0,
    filepath >= 1.3.0,
    ghc >= 7.8.1,
    ghc-paths >= 0.1.0,
    haddock-api >= 2.15.0,
    containers >= 0.5.0,
    transformers >= 0.3.0,
    MonadCatchIO-transformers >= 0.3.0,
    network >= 2.4.0,
    process >= 1.2.0,
    text >= 1.1.0,
    mtl >= 2.1.0

executable hdocs
  main-is: hdocs.hs
  hs-source-dirs: tools
  build-depends:
    base >= 4.7 && < 5,
    hdocs,
    aeson >= 0.7.0,
    aeson-pretty >= 0.7.0,
    bytestring >= 0.10.0,
    containers >= 0.5.0,
    filepath >= 1.3.0,
    mtl >= 2.1.0,
    network >= 2.4.0,
    text >= 1.1.0

test-suite test
  type: exitcode-stdio-1.0
  main-is: Test.hs
  hs-source-dirs: tests
  build-depends:
    base >= 4.7 && < 5,
    hdocs,
    containers >= 0.5.0,
    mtl >= 2.1.0