mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-05 10:49:42 +01:00
9a3be32ed7
* echo client/server example: dead code removal, add command line params, improve output messages * Add nix-build result to .gitignore * Merge echo-client and echo-server directories to echo-hs/ directory; rename main modules accordingly * Use our protobuf compiler to generate bindings for the Echo service * Simplify echo.proto to just one endpoint; use highlevel client/server interfaces and codegen for echo example * Remove repetition counts and thread spawns from echo client, parameterize payload * Update default.nix
33 lines
1.2 KiB
Nix
33 lines
1.2 KiB
Nix
{ mkDerivation, async, base, bytestring, c2hs, clock, containers
|
|
, grpc, managed, optparse-generic, pipes, proto3-wire
|
|
, protobuf-wire, QuickCheck, random, safe, sorted-list, stdenv, stm
|
|
, system-filepath, tasty, tasty-hunit, tasty-quickcheck, text, time
|
|
, transformers, turtle, unix, vector
|
|
}:
|
|
mkDerivation {
|
|
pname = "grpc-haskell";
|
|
version = "0.0.0.0";
|
|
src = ./.;
|
|
isLibrary = true;
|
|
isExecutable = true;
|
|
libraryHaskellDepends = [
|
|
async base bytestring clock containers managed pipes proto3-wire
|
|
protobuf-wire safe sorted-list stm tasty tasty-hunit transformers
|
|
vector
|
|
];
|
|
librarySystemDepends = [ grpc ];
|
|
libraryToolDepends = [ c2hs ];
|
|
executableHaskellDepends = [
|
|
async base bytestring containers optparse-generic proto3-wire
|
|
protobuf-wire random system-filepath text transformers turtle
|
|
vector
|
|
];
|
|
testHaskellDepends = [
|
|
async base bytestring clock containers managed pipes protobuf-wire
|
|
QuickCheck safe tasty tasty-hunit tasty-quickcheck text time
|
|
transformers turtle unix
|
|
];
|
|
homepage = "https://github.mv.awakenetworks.net/awakenetworks/gRPC-haskell";
|
|
description = "Haskell implementation of gRPC layered on shared C library";
|
|
license = stdenv.lib.licenses.asl20;
|
|
}
|