blob: 62e682fbb65fbac5681685e7b1b031870b8ed586 [file] [log] [blame]
Bryan Duxbury23f23482010-07-28 18:23:22 +00001--
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
David Reiss68f8c382010-01-11 19:13:18 +000020Name: ThriftTutorial
James E. King IIIc3375d92018-12-30 11:06:00 -050021Version: 1.0.0
Roger Meier303eb1b2014-05-14 00:49:41 +020022Cabal-Version: >= 1.4
23License: OtherLicense
David Reiss68f8c382010-01-11 19:13:18 +000024Category: Foreign
25Build-Type: Simple
26Synopsis: Thrift Tutorial library package
Roger Meier303eb1b2014-05-14 00:49:41 +020027Homepage: http://thrift.apache.org
28Bug-Reports: https://issues.apache.org/jira/browse/THRIFT
29Maintainer: dev@thrift.apache.org
James E. King, III0ad20bd2017-09-30 15:44:16 -070030License-File: LICENSE
Roger Meier303eb1b2014-05-14 00:49:41 +020031
32Description:
33 Haskell tutorial for the Apache Thrift RPC system. Requires the use of the thrift code generator.
David Reiss68f8c382010-01-11 19:13:18 +000034
John Cheeaa42d612014-08-25 22:08:46 -070035flag network-uri
36 description: Get Network.URI from the network-uri package
37 default: True
38
David Reiss68f8c382010-01-11 19:13:18 +000039Executable HaskellServer
40 Main-is: HaskellServer.hs
41 Hs-Source-Dirs:
Roger Meier303eb1b2014-05-14 00:49:41 +020042 ., gen-hs/
David Reiss68f8c382010-01-11 19:13:18 +000043 Build-Depends:
John Cheeaa42d612014-08-25 22:08:46 -070044 base >= 4, base < 5, ghc-prim, containers, thrift, vector, unordered-containers, text, hashable, bytestring, QuickCheck
David Reiss68f8c382010-01-11 19:13:18 +000045 Extensions:
Roger Meier303eb1b2014-05-14 00:49:41 +020046 DeriveDataTypeable,
47 ExistentialQuantification,
48 FlexibleInstances,
49 KindSignatures,
50 MagicHash,
51 RankNTypes,
52 ScopedTypeVariables,
53 TypeSynonymInstances
David Reiss68f8c382010-01-11 19:13:18 +000054
55Executable HaskellClient
56 Main-is: HaskellClient.hs
57 Hs-Source-Dirs:
Roger Meier303eb1b2014-05-14 00:49:41 +020058 ., gen-hs/
David Reiss68f8c382010-01-11 19:13:18 +000059 Build-Depends:
John Cheeaa42d612014-08-25 22:08:46 -070060 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
David Reiss68f8c382010-01-11 19:13:18 +000065 Extensions:
Roger Meier303eb1b2014-05-14 00:49:41 +020066 DeriveDataTypeable,
67 ExistentialQuantification,
68 FlexibleInstances,
69 KindSignatures,
70 MagicHash,
71 RankNTypes,
72 ScopedTypeVariables,
73 TypeSynonymInstances