packages feed

language-dot-0.0.9: language-dot.cabal

name:         language-dot
version:      0.0.9
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

extra-source-files:
  src/test.hs

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

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs: src
  ghc-options: -Wall
  cpp-options: -DTEST
  build-depends:
    base    == 4.*,
    mtl     == 1.* || == 2.*,
    parsec  == 3.*,
    pretty  == 1.*

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

  main-is: ppdot.hs
  hs-source-dirs: src
  build-depends:
    base    == 4.*,
    mtl     == 1.* || == 2.*,
    parsec  == 3.*,
    pretty  == 1.*

  ghc-options: -Wall

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