mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-16 16:19:42 +01:00
24681a619b
* Use GRPC v1.01 (grpc-1.0.1-6040b47) * Minor tweaks to GRPC request result processing (less exact matching on some StatusDetails due to GRPC rev bump)
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.0.1-${lib.strings.substring 0 7 rev}";
|
|
rev = "6040b471bcd1d6bb05b25c126b6545180a1d3528";
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/grpc/grpc.git";
|
|
sha256 = "1kx6jkx2dnnfnjfyc50ravfk7mfdszj988vndrlzs1zkd6627k4z";
|
|
};
|
|
preInstall = "export prefix";
|
|
buildInputs =
|
|
(if stdenv.isDarwin then [ pkgs.darwin.cctools ] else []) ++ [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
which
|
|
zlib
|
|
openssl
|
|
];
|
|
}
|