mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-06-26 14:38:35 +02:00
We now have Jenkins enabled for `gRPC-haskell` which verifies that `nix-build release.nix` passes for each pull request. `master` currently doesn't build, and this is the first pull request to fix the build by adding the recently introduced `sorted-list` dependency to the `nix` build. This was done by running `cabal2nix . > default.nix` and also adding a newer version of `sorted-list` to the `release.nix` file. `nixos-16.03` uses an older version of `sorted-list` which doesn't have an `IsList` instance for `SortedList`.
32 lines
1.1 KiB
Nix
32 lines
1.1 KiB
Nix
{ mkDerivation, async, base, bytestring, c2hs, clock, containers
|
|
, grpc, managed, pipes, proto3-wire, protobuf-wire, random, safe
|
|
, sorted-list, stdenv, stm, 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 proto3-wire protobuf-wire random
|
|
text transformers
|
|
];
|
|
testHaskellDepends = [
|
|
async base bytestring clock containers managed pipes protobuf-wire
|
|
safe tasty tasty-hunit tasty-quickcheck text time transformers
|
|
turtle unix
|
|
];
|
|
homepage = "http://github.com/aloiscochard/grpc-haskell";
|
|
description = "Haskell implementation of gRPC layered on shared C library";
|
|
license = stdenv.lib.licenses.asl20;
|
|
}
|