summaryrefslogtreecommitdiff
path: root/Haskell-book/24/language-dot/language-dot.cabal
blob: 5463485b7050cf9d01175337e26ccd3d6ddaf018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name:         language-dot
version:      0.0.8
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:   Brian Lewis <brian@lorf.org>
copyright:    (c) 2009 Galois, Inc.
license:      BSD3
license-file: LICENSE

cabal-version: >= 1.6
build-type:    Custom

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
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs

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

  hs-source-dirs:
    src

  main-is: ppdot.hs

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

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