/
texture-synthesis.cabal
88 lines (73 loc) · 2.23 KB
/
texture-synthesis.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
80
81
82
83
84
85
86
87
88
Name: texture-synthesis
-- 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.0.0
Synopsis: Texture synthesis
-- Description:
License: BSD3
License-file: LICENSE
Author: Conrad Parker
Maintainer: conrad@metadecks.org
Stability: Experimental
Category: Graphics
Cabal-version: >=1.8
Build-type: Simple
flag splitBase
description: Use the split-up base package.
Library
if flag(splitBase)
build-depends:
base >= 3 && < 6
else
build-depends:
base < 3
Exposed-modules:
Graphics.TextureSynthesis
Build-depends:
blaze-builder,
bytestring >= 0.9 && < 0.10,
containers >= 0.2 && < 0.5,
iteratee >= 0.8.6.0 && < 0.9,
mtl >= 2.0.0.0 && < 3,
mwc-random,
parallel,
primitive,
zoom-cache >= 1.0.0.0 && < 1.1.0.0
-- Modules not exported by this package.
-- Other-modules:
-- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
-- Build-tools:
Executable texture-synthesis
Main-is: texture-synthesis.hs
Hs-Source-Dirs: ., tools
if flag(splitBase)
build-depends:
base >= 3 && < 6
else
build-depends:
base < 3
Build-Depends:
blaze-builder,
bytestring >= 0.9 && < 0.10,
containers >= 0.2 && < 0.5,
data-default,
iteratee >= 0.8.6.0 && < 0.9,
mtl >= 2.0.0.0 && < 3,
mwc-random,
parallel,
primitive,
ui-command,
time,
zoom-cache >= 1.0.0.0 && < 1.1.0.0
Test-suite tests
Type: exitcode-stdio-1.0
Hs-source-dirs: tests
Main-is: Properties.hs
Build-depends:
base >= 3 && < 6,
test-framework >= 0.3.3 && < 0.5,
test-framework-quickcheck2 >= 0.2.9 && < 0.3,
QuickCheck >= 2.4.0.1,
random == 1.0.*,
texture-synthesis