Bump version suffix to 2.16.0 beta2
[ganeti-github.git] / cabal / ganeti.template.cabal
1 name:                ganeti
2 version:             2.16
3 homepage:            http://www.ganeti.org
4 license:             BSD2
5 license-file:        COPYING
6 author:              Google Inc.
7 maintainer:          ganeti-devel@googlegroups.com
8 copyright:           2006-2015 Google Inc.
9 category:            System
10 build-type:          Simple
11 extra-source-files:  README
12 cabal-version:       >=1.10
13 synopsis:            Cluster-based virtualization management software
14 description:
15   Cluster-based virtualization management software
16   .
17   See <http://www.ganeti.org>
18
19
20 flag mond
21   description: enable the ganeti monitoring daemon
22   default:     True
23
24 flag metad
25   description: enable the ganeti metadata daemon
26   default:     True
27
28 flag htest
29   description: enable tests
30   default:     True
31
32
33 library
34   exposed-modules:
35     -- AUTOGENERATED_MODULES_HERE
36   -- other-modules:
37   other-extensions:
38       TemplateHaskell
39   build-depends:
40       base                          >= 4.5.0.0
41     , array                         >= 0.4.0.0
42     , bytestring                    >= 0.9.2.1
43     , containers                    >= 0.4.2.1
44     , deepseq                       >= 1.3.0.0
45     , directory                     >= 1.1.0.2
46     , filepath                      >= 1.3.0.0
47     , mtl                           >= 2.1.1
48     , old-time                      >= 1.1.0.0
49     , pretty                        >= 1.1.1.0
50     , process                       >= 1.1.0.1
51     , random                        >= 1.0.1.1
52     , template-haskell              >= 2.7.0.0
53     , text                          >= 0.11.1.13
54     , transformers                  >= 0.3.0.0
55     , unix                          >= 2.5.1.0
56
57     , attoparsec                    >= 0.10.1.1   && < 0.13
58     , base64-bytestring             >= 1.0.0.1    && < 1.1
59     , case-insensitive              >= 0.4.0.1    && < 1.3
60     , Crypto                        >= 4.2.4      && < 4.3
61     , curl                          >= 1.3.7      && < 1.4
62     , hinotify                      >= 0.3.2      && < 0.4
63     , hslogger                      >= 1.1.4      && < 1.3
64     , json                          >= 0.5        && < 0.9
65     , lens                          >= 3.10       && < 4.8
66     , lifted-base                   >= 0.2.0.3    && < 0.3
67     , monad-control                 >= 0.3.1.3    && < 1.1
68     , MonadCatchIO-transformers     >= 0.3.0.0    && < 0.4
69     , network                       >= 2.3.0.13   && < 2.7
70     , parallel                      >= 3.2.0.2    && < 3.3
71     , regex-pcre                    >= 0.94.2     && < 0.95
72     , temporary                     >= 1.1.2.3    && < 1.3
73     , transformers-base             >= 0.4.1      && < 0.5
74     , utf8-string                   >= 0.3.7      && < 0.4
75     , zlib                          >= 0.5.3.3    && < 0.6
76
77     -- Executables:
78     -- , happy
79     -- , hscolour
80     -- , shelltestrunner
81
82   if flag(htest)
83     build-depends:
84         HUnit                         >= 1.2.4.2    && < 1.3
85       , QuickCheck                    >= 2.4.2      && < 2.8
86       , test-framework                >= 0.6        && < 0.9
87       , test-framework-hunit          >= 0.2.7      && < 0.4
88       , test-framework-quickcheck2    >= 0.2.12.1   && < 0.4
89
90   if flag(mond)
91     build-depends:
92         PSQueue                       >= 1.1        && < 1.2
93       , snap-core                     >= 0.8.1      && < 0.10
94       , snap-server                   >= 0.8.1      && < 0.10
95
96   if flag(metad)
97     build-depends:
98         snap-core                     >= 0.8.1      && < 0.10
99       , snap-server                   >= 0.8.1      && < 0.10
100
101   hs-source-dirs:
102     src, test/hs
103   build-tools:
104     hsc2hs
105   default-language:
106     Haskell2010
107   ghc-options:
108     -Wall