blob: 5610a5cc9ad4f472580032ed820ca70ff461daf2 [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
Anthony F. Molinaro371372e2010-10-05 17:08:08 +000020Name: thrift
Jake Farrell6fcecd42012-10-11 20:34:25 +000021Version: 1.0.0-dev
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070022Cabal-Version: >= 1.8
Roger Meiera8b52c72010-11-02 07:33:30 +000023License: OtherLicense
Bryan Duxburyc8c088c2009-04-07 23:27:01 +000024Category: Foreign
25Build-Type: Simple
Roger Meier22872782010-10-22 11:20:25 +000026Synopsis: Haskell bindings for the Apache Thrift RPC system
Roger Meiera8b52c72010-11-02 07:33:30 +000027Homepage: http://thrift.apache.org
28Bug-Reports: https://issues.apache.org/jira/browse/THRIFT
29Maintainer: dev@thrift.apache.org
jfarrell0a93dcd2014-11-18 08:44:54 -050030License-File: LICENSE
Anthony F. Molinaro371372e2010-10-05 17:08:08 +000031
32Description:
33 Haskell bindings for the Apache Thrift RPC system. Requires the use of the thrift code generator.
Bryan Duxburyc8c088c2009-04-07 23:27:01 +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
Bryan Duxburyc8c088c2009-04-07 23:27:01 +000039Library
40 Hs-Source-Dirs:
41 src
42 Build-Depends:
John Cheeaa42d612014-08-25 22:08:46 -070043 base >= 4, base < 5, containers, ghc-prim, attoparsec, binary, bytestring >= 0.10, hashable, HTTP, text, unordered-containers, vector, QuickCheck, split
44 if flag(network-uri)
45 build-depends: network-uri >= 2.6, network >= 2.6
46 else
47 build-depends: network < 2.6
Bryan Duxburyc8c088c2009-04-07 23:27:01 +000048 Exposed-Modules:
Roger Meier6849f202012-05-18 07:35:19 +000049 Thrift,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070050 Thrift.Arbitraries
Roger Meier6849f202012-05-18 07:35:19 +000051 Thrift.Protocol,
52 Thrift.Protocol.Binary,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070053 Thrift.Protocol.Compact,
54 Thrift.Protocol.JSON,
Roger Meier6849f202012-05-18 07:35:19 +000055 Thrift.Server,
56 Thrift.Transport,
Roger Meier5e58b802014-10-08 11:59:44 +020057 Thrift.Transport.Empty,
Roger Meier6849f202012-05-18 07:35:19 +000058 Thrift.Transport.Framed,
59 Thrift.Transport.Handle,
60 Thrift.Transport.HttpClient,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070061 Thrift.Transport.IOBuffer,
Roger Meier6849f202012-05-18 07:35:19 +000062 Thrift.Types
Anthony F. Molinaro7466bcd2010-09-23 22:28:09 +000063 Extensions:
Roger Meier6849f202012-05-18 07:35:19 +000064 DeriveDataTypeable,
65 ExistentialQuantification,
66 FlexibleInstances,
67 KindSignatures,
68 MagicHash,
69 RankNTypes,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070070 RecordWildCards,
Roger Meier6849f202012-05-18 07:35:19 +000071 ScopedTypeVariables,
72 TypeSynonymInstances