summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony F. Molinaro <molinaro@apache.org>2010-09-23 22:28:09 +0000
committerAnthony F. Molinaro <molinaro@apache.org>2010-09-23 22:28:09 +0000
commit7466bcd5d7244c464a337816f760fd50c362e5be (patch)
treeaa2b09463835fa0e151f7fc65bafbcd18d238516
parent6461d56d025893581fd9b06487b7c4788af3c0ed (diff)
downloadthrift-7466bcd5d7244c464a337816f760fd50c362e5be.tar.gz
THRIFT-914 : haskell bindings compile easier
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1000653 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--lib/hs/Setup.lhs34
-rw-r--r--lib/hs/Thrift.cabal13
2 files changed, 23 insertions, 24 deletions
diff --git a/lib/hs/Setup.lhs b/lib/hs/Setup.lhs
index c9e6d9705..d52ae9455 100644
--- a/lib/hs/Setup.lhs
+++ b/lib/hs/Setup.lhs
@@ -1,23 +1,21 @@
#!/usr/bin/env runhaskell
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements. See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership. The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-#
+> -- Licensed to the Apache Software Foundation (ASF) under one
+> -- or more contributor license agreements. See the NOTICE file
+> -- distributed with this work for additional information
+> -- regarding copyright ownership. The ASF licenses this file
+> -- to you under the Apache License, Version 2.0 (the
+> -- "License"); you may not use this file except in compliance
+> -- with the License. You may obtain a copy of the License at
+> --
+> -- http://www.apache.org/licenses/LICENSE-2.0
+> --
+> -- Unless required by applicable law or agreed to in writing,
+> -- software distributed under the License is distributed on an
+> -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+> -- KIND, either express or implied. See the License for the
+> -- specific language governing permissions and limitations
+> -- under the License.
> import Distribution.Simple
> main = defaultMain
diff --git a/lib/hs/Thrift.cabal b/lib/hs/Thrift.cabal
index feb2e816e..37778d716 100644
--- a/lib/hs/Thrift.cabal
+++ b/lib/hs/Thrift.cabal
@@ -18,7 +18,7 @@
--
Name: Thrift
-Version: 0.1.1
+Version: 0.2.0
Cabal-Version: >= 1.2
License: Apache2
Category: Foreign
@@ -30,10 +30,11 @@ Library
src
Build-Depends:
base >=4, network, ghc-prim, binary, bytestring, HTTP
- ghc-options:
- -fglasgow-exts
- Extensions:
- DeriveDataTypeable
Exposed-Modules:
Thrift, Thrift.Protocol, Thrift.Transport, Thrift.Protocol.Binary
- Thrift.Transport.Handle, Thrift.Transport.HttpClient, Thrift.Server
+ Thrift.Transport.Handle, Thrift.Transport.HttpClient, Thrift.Server
+ Extensions:
+ DeriveDataTypeable, ExistentialQuantification, FlexibleInstances,
+ KindSignatures, MagicHash, RankNTypes,
+ ScopedTypeVariables, TypeSynonymInstances
+