google-cloud-cpp: add missing dependency

This commit is contained in:
Tom Hunger 2021-03-02 20:47:41 +00:00
parent 81e50c8d04
commit dd5f27ad1e

View file

@ -1,4 +1,20 @@
{ lib, stdenv, clang-tools, grpc, curl, cmake, pkg-config, fetchFromGitHub, doxygen, protobuf, crc32c, c-ares, fetchurl, openssl, zlib }:
{ lib
, stdenv
, clang-tools
, grpc
, curl
, cmake
, pkg-config
, fetchFromGitHub
, doxygen
, protobuf
, crc32c
, c-ares
, fetchurl
, openssl
, zlib
, libnsl
}:
let
googleapis = fetchFromGitHub {
owner = "googleapis";
@ -39,7 +55,7 @@ in stdenv.mkDerivation rec {
sha256 = "15wci4m8h6py7fqfziq8mp5m6pxp2h1cbh5rp2k90mk5js4jb9pa";
};
buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf ];
buildInputs = [ curl crc32c c-ares c-ares.cmake-config googleapis-cpp-cmakefiles grpc protobuf libnsl ];
nativeBuildInputs = [ clang-tools cmake pkg-config doxygen ];
outputs = [ "out" "dev" ];
@ -58,6 +74,5 @@ in stdenv.mkDerivation rec {
homepage = "https://github.com/googleapis/google-cloud-cpp";
description = "C++ Idiomatic Clients for Google Cloud Platform services";
maintainers = with maintainers; [ ];
broken = true; # Broken on Hydra since 2020-05-19
};
}