mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-05 10:49:42 +01:00
8a6a7c3715
* Update tests.patch * release.nix fixes for building and running cabal test suite from inside the nix-shell environment * Update build instructions * More README updates * Fix stack tooling and improve documentation * Update grpc sha256, cleanup build instructions * Whups, DYLD_LIBRARY_PATH and substituteInPlace is still needed for hydra / macos builds with no brew-installed grpc! * PR feedback tweaks
23 lines
602 B
Nix
23 lines
602 B
Nix
{ pkgs, stdenv, lib, fetchgit, autoconf, automake, libtool, which, zlib, openssl
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "grpc-${version}";
|
|
version = "0.15-${lib.strings.substring 0 7 rev}";
|
|
rev = "03efbd34ce64615f58007eae667b375accc6c8e6";
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/grpc/grpc.git";
|
|
sha256 = "0a48swsip09bd0yk80gl9r7pny9dal3byyd22bdz4fcvydna43m0";
|
|
};
|
|
preInstall = "export prefix";
|
|
buildInputs =
|
|
(if stdenv.isDarwin then [ pkgs.darwin.cctools ] else []) ++ [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
which
|
|
zlib
|
|
openssl
|
|
];
|
|
}
|