blob: 7c9a295ea1b3dfcc3810961a22887626c5061c80 [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
Roger Meier303eb1b2014-05-14 00:49:41 +020030License-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,
57 Thrift.Transport.Framed,
58 Thrift.Transport.Handle,
59 Thrift.Transport.HttpClient,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070060 Thrift.Transport.IOBuffer,
Roger Meier6849f202012-05-18 07:35:19 +000061 Thrift.Types
Anthony F. Molinaro7466bcd2010-09-23 22:28:09 +000062 Extensions:
Roger Meier6849f202012-05-18 07:35:19 +000063 DeriveDataTypeable,
64 ExistentialQuantification,
65 FlexibleInstances,
66 KindSignatures,
67 MagicHash,
68 RankNTypes,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070069 RecordWildCards,
Roger Meier6849f202012-05-18 07:35:19 +000070 ScopedTypeVariables,
71 TypeSynonymInstances
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070072
73Test-Suite tests
74 Type:
75 exitcode-stdio-1.0
76 Hs-Source-Dirs:
77 tests
78 Build-Depends:
cdwijayarathnad9217912014-08-15 22:18:30 +053079 base, QuickCheck, binary, bytestring, thrift, split
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070080 Main-Is:
Roger Meiere26db2f2014-08-18 21:19:44 +020081 JSONTests.hs