2016-07-27 23:01:57 +02:00
|
|
|
{ mkDerivation, async, base, bytestring, c2hs, clock, containers
|
2016-12-12 19:40:23 +01:00
|
|
|
, grpc, managed, pipes, proto3-wire, protobuf-wire, QuickCheck
|
|
|
|
, random, safe, sorted-list, stdenv, stm, tasty, tasty-hunit
|
|
|
|
, tasty-quickcheck, text, time, transformers, turtle, unix, vector
|
2016-07-27 23:01:57 +02:00
|
|
|
}:
|
|
|
|
mkDerivation {
|
|
|
|
pname = "grpc-haskell";
|
|
|
|
version = "0.0.0.0";
|
|
|
|
src = ./.;
|
|
|
|
isLibrary = true;
|
|
|
|
isExecutable = true;
|
|
|
|
libraryHaskellDepends = [
|
|
|
|
async base bytestring clock containers managed pipes proto3-wire
|
2016-08-03 20:47:52 +02:00
|
|
|
protobuf-wire safe sorted-list stm tasty tasty-hunit transformers
|
|
|
|
vector
|
2016-07-27 23:01:57 +02:00
|
|
|
];
|
|
|
|
librarySystemDepends = [ grpc ];
|
|
|
|
libraryToolDepends = [ c2hs ];
|
|
|
|
executableHaskellDepends = [
|
|
|
|
async base bytestring containers proto3-wire protobuf-wire random
|
|
|
|
text transformers
|
|
|
|
];
|
|
|
|
testHaskellDepends = [
|
|
|
|
async base bytestring clock containers managed pipes protobuf-wire
|
2016-12-12 19:40:23 +01:00
|
|
|
QuickCheck safe tasty tasty-hunit tasty-quickcheck text time
|
|
|
|
transformers turtle unix
|
2016-07-27 23:01:57 +02:00
|
|
|
];
|
|
|
|
homepage = "http://github.com/aloiscochard/grpc-haskell";
|
|
|
|
description = "Haskell implementation of gRPC layered on shared C library";
|
|
|
|
license = stdenv.lib.licenses.asl20;
|
|
|
|
}
|