Bryan Duxbury | 23f2348 | 2010-07-28 18:23:22 +0000 | [diff] [blame] | 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 | |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 20 | Name: ThriftTutorial |
| 21 | Version: 0.1.0 |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 22 | Cabal-Version: >= 1.4 |
| 23 | License: OtherLicense |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 24 | Category: Foreign |
| 25 | Build-Type: Simple |
| 26 | Synopsis: Thrift Tutorial library package |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 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. |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 34 | |
John Chee | aa42d61 | 2014-08-25 22:08:46 -0700 | [diff] [blame] | 35 | flag network-uri |
| 36 | description: Get Network.URI from the network-uri package |
| 37 | default: True |
| 38 | |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 39 | Executable HaskellServer |
| 40 | Main-is: HaskellServer.hs |
| 41 | Hs-Source-Dirs: |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 42 | ., gen-hs/ |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 43 | Build-Depends: |
John Chee | aa42d61 | 2014-08-25 22:08:46 -0700 | [diff] [blame] | 44 | base >= 4, base < 5, ghc-prim, containers, thrift, vector, unordered-containers, text, hashable, bytestring, QuickCheck |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 45 | Extensions: |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 46 | DeriveDataTypeable, |
| 47 | ExistentialQuantification, |
| 48 | FlexibleInstances, |
| 49 | KindSignatures, |
| 50 | MagicHash, |
| 51 | RankNTypes, |
| 52 | ScopedTypeVariables, |
| 53 | TypeSynonymInstances |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 54 | |
| 55 | Executable HaskellClient |
| 56 | Main-is: HaskellClient.hs |
| 57 | Hs-Source-Dirs: |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 58 | ., gen-hs/ |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 59 | Build-Depends: |
John Chee | aa42d61 | 2014-08-25 22:08:46 -0700 | [diff] [blame] | 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 |
David Reiss | 68f8c38 | 2010-01-11 19:13:18 +0000 | [diff] [blame] | 65 | Extensions: |
Roger Meier | 303eb1b | 2014-05-14 00:49:41 +0200 | [diff] [blame] | 66 | DeriveDataTypeable, |
| 67 | ExistentialQuantification, |
| 68 | FlexibleInstances, |
| 69 | KindSignatures, |
| 70 | MagicHash, |
| 71 | RankNTypes, |
| 72 | ScopedTypeVariables, |
| 73 | TypeSynonymInstances |