packages feed

language-dot-0.1.1: language-dot.cabal

name:         language-dot
version:      0.1.1
category:     Language
synopsis:     A library for the analysis and creation of Graphviz DOT files
description:  A library for the analysis and creation of Graphviz DOT files.
author:       Brian Lewis <brian@lorf.org>
maintainer:   Ben Gamari <ben@smart-cactus.org>
copyright:    (c) 2009 Galois, Inc.
license:      BSD3
license-file: LICENSE

cabal-version: >= 1.8
build-type:    Simple

flag executable
  description: Build the `ppdot' executable.
  default:     True

library
  hs-source-dirs:
    src

  exposed-modules:
    Language.Dot
    Language.Dot.Parser
    Language.Dot.Pretty
    Language.Dot.Syntax

  build-depends:
    base    == 4.*,
    mtl     == 1.* || == 2.*,
    parsec  == 3.*,
    pretty  == 1.*

  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

executable ppdot
  if flag(executable)
    buildable: True
  else
    buildable: False

  hs-source-dirs: ppdot

  main-is: Main.hs
  build-depends:
    base    == 4.*,
    mtl     == 1.* || == 2.*,
    language-dot

  ghc-options: -Wall
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  other-modules:
    Language.Dot.Parser
    Language.Dot.Syntax
  hs-source-dirs: test, src
  ghc-options: -Wall
  cpp-options: -DTEST
  build-depends:
    base    == 4.*,
    parsec  == 3.*

source-repository head
  type:     git
  location: https://github.com/bgamari/language-dot