mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-16 16:19:42 +01:00
90 lines
2.4 KiB
Text
90 lines
2.4 KiB
Text
name: grpc-haskell
|
|
version: 0.0.0.0
|
|
synopsis: Haskell implementation of gRPC layered on shared C library.
|
|
-- description:
|
|
homepage: http://github.com/aloiscochard/grpc-haskell
|
|
license: Apache-2.0
|
|
license-file: LICENSE
|
|
author: Alois Cochard
|
|
maintainer: alois.cochard@gmail.com
|
|
copyright: Copyright 2015 Alois Cochard
|
|
category: Network
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
extra-source-files: cbits, include
|
|
|
|
Flag Debug
|
|
Description: Adds debug logging.
|
|
Manual: True
|
|
Default: False
|
|
|
|
library
|
|
build-depends:
|
|
base ==4.8.*
|
|
, clock ==0.6.*
|
|
, bytestring ==0.10.*
|
|
, stm == 2.4.*
|
|
, containers ==0.5.*
|
|
c-sources:
|
|
cbits/grpc_haskell.c
|
|
exposed-modules:
|
|
-- NOTE: the order of these matters to c2hs.
|
|
Network.GRPC.Unsafe.Constants
|
|
Network.GRPC.Unsafe.Time
|
|
Network.GRPC.Unsafe.Slice
|
|
Network.GRPC.Unsafe.ByteBuffer
|
|
Network.GRPC.Unsafe.Metadata
|
|
Network.GRPC.Unsafe.Op
|
|
Network.GRPC.Unsafe
|
|
Network.GRPC.LowLevel
|
|
other-modules:
|
|
Network.GRPC.LowLevel.CompletionQueue
|
|
Network.GRPC.LowLevel.GRPC
|
|
Network.GRPC.LowLevel.Op
|
|
Network.GRPC.LowLevel.Server
|
|
Network.GRPC.LowLevel.Call
|
|
Network.GRPC.LowLevel.Client
|
|
extra-libraries:
|
|
grpc
|
|
includes:
|
|
include/grpc_haskell.h
|
|
, grpc/grpc.h
|
|
, grpc/status.h
|
|
, grpc/support/time.h
|
|
, grpc/impl/codegen/compression_types.h
|
|
, grpc/impl/codegen/slice_buffer.h
|
|
, grpc/impl/codegen/slice.h
|
|
build-tools: c2hs
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -fwarn-incomplete-patterns
|
|
include-dirs: include
|
|
hs-source-dirs: src
|
|
default-extensions: CPP
|
|
|
|
if flag(debug)
|
|
CPP-Options: -DDEBUG
|
|
CC-Options: -DGRPC_HASKELL_DEBUG
|
|
|
|
test-suite test
|
|
build-depends:
|
|
base ==4.8.*
|
|
, grpc-haskell
|
|
, bytestring ==0.10.*
|
|
, unix
|
|
, time
|
|
, async
|
|
, tasty >= 0.11 && <0.12
|
|
, tasty-hunit >= 0.9 && <0.10
|
|
, containers ==0.5.*
|
|
other-modules:
|
|
LowLevelTests,
|
|
UnsafeTests
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall -fwarn-incomplete-patterns -g -threaded
|
|
hs-source-dirs: tests
|
|
main-is: Properties.hs
|
|
type: exitcode-stdio-1.0
|
|
extensions: CPP
|
|
|
|
if flag(debug)
|
|
GHC-Options: -DDEBUG
|