blob: c60effbe891f47ec2c3dbc270e4b5339ed969f34 [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
Jens Geyere02559f2019-10-17 00:11:59 +020021Version: 0.14.0
James E. King III2391f332018-11-11 10:18:41 -050022Cabal-Version: 1.24
James E. King IIIc685cb02019-01-24 00:21:23 -050023License: Apache
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:
James E. King, III81cdcd32017-09-09 17:54:10 +000043 base >= 4, base < 5, containers, ghc-prim, attoparsec, binary, bytestring >= 0.10, base64-bytestring, hashable, HTTP, text, hspec-core > 2.4.0, unordered-containers >= 0.2.6, vector >= 0.10.12.2, QuickCheck >= 2.8.2, split
John Cheeaa42d612014-08-25 22:08:46 -070044 if flag(network-uri)
Jens Geyer2135a362019-04-16 16:27:03 +020045 build-depends: network-uri >= 2.6, network >= 2.6 && < 3.0
John Cheeaa42d612014-08-25 22:08:46 -070046 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,
Nobuaki Sukegawa3c420072016-01-24 04:01:27 +090052 Thrift.Protocol.Header,
Roger Meier6849f202012-05-18 07:35:19 +000053 Thrift.Protocol.Binary,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070054 Thrift.Protocol.Compact,
55 Thrift.Protocol.JSON,
Roger Meier6849f202012-05-18 07:35:19 +000056 Thrift.Server,
57 Thrift.Transport,
Roger Meier5e58b802014-10-08 11:59:44 +020058 Thrift.Transport.Empty,
Roger Meier6849f202012-05-18 07:35:19 +000059 Thrift.Transport.Framed,
60 Thrift.Transport.Handle,
Nobuaki Sukegawa3c420072016-01-24 04:01:27 +090061 Thrift.Transport.Header,
Roger Meier6849f202012-05-18 07:35:19 +000062 Thrift.Transport.HttpClient,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070063 Thrift.Transport.IOBuffer,
Nobuaki Sukegawa7c7d6792015-12-09 03:22:35 +090064 Thrift.Transport.Memory,
Roger Meier6849f202012-05-18 07:35:19 +000065 Thrift.Types
James E. King III2391f332018-11-11 10:18:41 -050066 Default-Language: Haskell2010
James E. King IIIf74bc7b2018-09-14 17:56:49 +000067 Default-Extensions:
Roger Meier6849f202012-05-18 07:35:19 +000068 DeriveDataTypeable,
69 ExistentialQuantification,
70 FlexibleInstances,
71 KindSignatures,
72 MagicHash,
73 RankNTypes,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070074 RecordWildCards,
Roger Meier6849f202012-05-18 07:35:19 +000075 ScopedTypeVariables,
76 TypeSynonymInstances
Nobuaki Sukegawa7c7d6792015-12-09 03:22:35 +090077
78Test-Suite spec
79 Type: exitcode-stdio-1.0
80 Hs-Source-Dirs: test
81 Ghc-Options: -Wall
82 main-is: Spec.hs
Nobuaki Sukegawa71398bb2016-01-20 01:21:52 +090083 Build-Depends: base, thrift, hspec, QuickCheck >= 2.8.2, bytestring >= 0.10, unordered-containers >= 0.2.6
James E. King III2391f332018-11-11 10:18:41 -050084 Default-Language: Haskell2010