/
hs2dot.cabal
79 lines (58 loc) · 2.35 KB
/
hs2dot.cabal
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
-- hs2graphviz.cabal auto-generated by cabal init. For additional
-- options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: hs2dot
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 0.1.4
-- A short (one-line) description of the package.
Synopsis: Generate graphviz-code from Haskell-code.
-- A longer description of the package.
Description:
@hs2dot@ can generate graphviz code by analyzing Haskell source code.
.
Usage (to generate a pdf from a source code file Hack.hs)
.
> hs2dot Hack.hs | dot -T pdf -o Hack.pdf
.
You can analyze multiple modules together:
.
> hs2dot Foo.hs Bar.hs | dot -T png -o FooBar.png
.
Changelog:
.
0.1.3: Updated dependencies to be less picky.
.
0.1.4: Included Hs2Dot.Internals in sdist
-- URL for the project homepage or repository.
Homepage: http://www.github.com/finnsson/hs2graphviz
-- The license under which the package is released.
License: OtherLicense
-- The file containing the license text.
License-file: COPYING.txt
-- The package author(s).
Author: Oscar Finnsson
-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: oscar.finnsson@gmail.com
-- A copyright notice.
-- Copyright:
Category: Language
Build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.2
executable hs2dot
-- .hs or .lhs file containing the Main module.
Main-is: Main.hs
-- Packages needed in order to build this package.
build-depends: base >= 4 && < 5, directory >= 1.0 && < 1.3, split >= 0.1.2, haskell-src-exts >= 1.9 && < 2.0, haskell-src >= 1.0 && < 1.1
-- Modules not exported by this package.
Other-modules: Hs2Dot.Helper, Hs2Dot.Src, Hs2Dot.SrcHelper, Hs2Dot.DotHelper, Hs2Dot.Dot
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
hs-source-dirs: src