mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-16 08:09:42 +01:00
b550607f60
* update for reorganized headers in gRPC v1.1: https://github.com/grpc/grpc/pull/7559 * update nix files * rename all gpr_slice to grpc_slice since we can't be backwards compatible anyway * use gRPC 1.1.4 * now compatible with gRPC 1.2.0 * use nixpkgs 17.03 to get protobuf3_2, newer proto3-* deps, fix some warnings * another warning
23 lines
603 B
Nix
23 lines
603 B
Nix
{ pkgs, stdenv, lib, fetchgit, autoconf, automake, libtool, which, zlib, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "grpc-${version}";
|
|
version = "1.2.0-${lib.strings.substring 0 7 rev}";
|
|
rev = "e2cfe9df79c4eda4e376222df064c4c65e616352";
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/grpc/grpc.git";
|
|
sha256 = "19ldbjlnbc287hkaylsigm8w9fai2bjdbfxk6315kl75cq54iprr";
|
|
};
|
|
preInstall = "export prefix";
|
|
buildInputs =
|
|
(if stdenv.isDarwin then [ pkgs.darwin.cctools ] else []) ++ [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
which
|
|
zlib
|
|
openssl
|
|
];
|
|
}
|