]>
Commit | Line | Data |
---|---|---|
f67539c2 TL |
1 | -- |
2 | -- Licensed to the Apache Software Foundation (ASF) under one | |
3 | -- or more contributor license agreements. See the NOTICE file | |
4 | -- distributed with this work for additional information | |
5 | -- regarding copyright ownership. The ASF licenses this file | |
6 | -- to you under the Apache License, Version 2.0 (the | |
7 | -- "License"); you may not use this file except in compliance | |
8 | -- with the License. You may obtain a copy of the License at | |
9 | -- | |
10 | -- http://www.apache.org/licenses/LICENSE-2.0 | |
11 | -- | |
12 | -- Unless required by applicable law or agreed to in writing, | |
13 | -- software distributed under the License is distributed on an | |
14 | -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
15 | -- KIND, either express or implied. See the License for the | |
16 | -- specific language governing permissions and limitations | |
17 | -- under the License. | |
18 | -- | |
19 | ||
20 | Name: ThriftTutorial | |
21 | Version: 0.13.0 | |
22 | Cabal-Version: >= 1.4 | |
23 | License: OtherLicense | |
24 | Category: Foreign | |
25 | Build-Type: Simple | |
26 | Synopsis: Thrift Tutorial library package | |
27 | Homepage: http://thrift.apache.org | |
28 | Bug-Reports: https://issues.apache.org/jira/browse/THRIFT | |
29 | Maintainer: dev@thrift.apache.org | |
30 | License-File: LICENSE | |
31 | ||
32 | Description: | |
33 | Haskell tutorial for the Apache Thrift RPC system. Requires the use of the thrift code generator. | |
34 | ||
35 | flag network-uri | |
36 | description: Get Network.URI from the network-uri package | |
37 | default: True | |
38 | ||
39 | Executable HaskellServer | |
40 | Main-is: HaskellServer.hs | |
41 | Hs-Source-Dirs: | |
42 | ., gen-hs/ | |
43 | Build-Depends: | |
44 | base >= 4, base < 5, ghc-prim, containers, thrift, vector, unordered-containers, text, hashable, bytestring, QuickCheck | |
45 | Extensions: | |
46 | DeriveDataTypeable, | |
47 | ExistentialQuantification, | |
48 | FlexibleInstances, | |
49 | KindSignatures, | |
50 | MagicHash, | |
51 | RankNTypes, | |
52 | ScopedTypeVariables, | |
53 | TypeSynonymInstances | |
54 | ||
55 | Executable HaskellClient | |
56 | Main-is: HaskellClient.hs | |
57 | Hs-Source-Dirs: | |
58 | ., gen-hs/ | |
59 | Build-Depends: | |
60 | base >= 4, base < 5, ghc-prim, containers, thrift, vector, QuickCheck | |
61 | if flag(network-uri) | |
62 | build-depends: network-uri >= 2.6, network >= 2.6 | |
63 | else | |
64 | build-depends: network < 2.6 | |
65 | Extensions: | |
66 | DeriveDataTypeable, | |
67 | ExistentialQuantification, | |
68 | FlexibleInstances, | |
69 | KindSignatures, | |
70 | MagicHash, | |
71 | RankNTypes, | |
72 | ScopedTypeVariables, | |
73 | TypeSynonymInstances |