From: Bryan Duxbury Date: Tue, 7 Apr 2009 23:27:01 +0000 (+0000) Subject: THRIFT-390. hs: Cabalize Haskell library code X-Git-Tag: 0.2.0~147 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c8c088cc524f6a8fd532f885859e7a2127c9f2fd;p=common%2Fthrift.git THRIFT-390. hs: Cabalize Haskell library code Missed some files that needed to be added. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@763030 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/hs/.gitignore b/lib/hs/.gitignore new file mode 100644 index 00000000..849ddff3 --- /dev/null +++ b/lib/hs/.gitignore @@ -0,0 +1 @@ +dist/ diff --git a/lib/hs/Setup.lhs b/lib/hs/Setup.lhs new file mode 100644 index 00000000..5bde0de9 --- /dev/null +++ b/lib/hs/Setup.lhs @@ -0,0 +1,3 @@ +#!/usr/bin/env runhaskell +> import Distribution.Simple +> main = defaultMain diff --git a/lib/hs/Thrift.cabal b/lib/hs/Thrift.cabal new file mode 100644 index 00000000..22f89b46 --- /dev/null +++ b/lib/hs/Thrift.cabal @@ -0,0 +1,18 @@ +Name: Thrift +Version: 0.1.0 +Cabal-Version: >= 1.2 +Category: Foreign +Build-Type: Simple +Synopsis: Thrift library package + +Library + Hs-Source-Dirs: + src + Build-Depends: + base <4 && >2, network, ghc-prim + ghc-options: + -fglasgow-exts + Extensions: + DeriveDataTypeable + Exposed-Modules: + Thrift, TBinaryProtocol, TChannelTransport, TServer, TSocket