From c8c088cc524f6a8fd532f885859e7a2127c9f2fd Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Tue, 7 Apr 2009 23:27:01 +0000 Subject: [PATCH] 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 --- lib/hs/.gitignore | 1 + lib/hs/Setup.lhs | 3 +++ lib/hs/Thrift.cabal | 18 ++++++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 lib/hs/.gitignore create mode 100644 lib/hs/Setup.lhs create mode 100644 lib/hs/Thrift.cabal 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 -- 2.17.1