blob: f7520f35317adc86aa64fc387afe0834a79a4d38 [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:
jfarrell842b14f2016-12-19 14:39:43 -050043 base >= 4, base < 5, containers, ghc-prim, attoparsec, binary, bytestring >= 0.10, base64-bytestring, hashable, HTTP, text, 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)
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,
Nobuaki Sukegawa7c7d6792015-12-09 03:22:35 +090062 Thrift.Transport.Memory,
Roger Meier6849f202012-05-18 07:35:19 +000063 Thrift.Types
Anthony F. Molinaro7466bcd2010-09-23 22:28:09 +000064 Extensions:
Roger Meier6849f202012-05-18 07:35:19 +000065 DeriveDataTypeable,
66 ExistentialQuantification,
67 FlexibleInstances,
68 KindSignatures,
69 MagicHash,
70 RankNTypes,
Noam Zilbersteinaf5d64a2014-07-31 15:44:13 -070071 RecordWildCards,
Roger Meier6849f202012-05-18 07:35:19 +000072 ScopedTypeVariables,
73 TypeSynonymInstances
Nobuaki Sukegawa7c7d6792015-12-09 03:22:35 +090074
75Test-Suite spec
76 Type: exitcode-stdio-1.0
77 Hs-Source-Dirs: test
78 Ghc-Options: -Wall
79 main-is: Spec.hs
Nobuaki Sukegawa71398bb2016-01-20 01:21:52 +090080 Build-Depends: base, thrift, hspec, QuickCheck >= 2.8.2, bytestring >= 0.10, unordered-containers >= 0.2.6