gRPC-haskell/default.nix
Joel Stanley db3d66c4eb Add compile-proto-file helper cli tool (#87)
* Add compile-proto-file helper cli tool (.proto -> ast -> .hs)

* Update default.nix
2016-12-21 11:47:05 -06:00

32 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
];
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;
}