gRPC-haskell/default.nix
Gabriel Gonzalez f9f59f2362 Fix gRPC-haskell Jenkins build (#64)
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`.
2016-08-03 11:47:52 -07:00

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