vector: 0.7.1 -> 0.7.2

This commit is contained in:
Jonathan Ringer 2020-02-15 16:47:46 -08:00 committed by Jon
parent c0aca67f74
commit ceb30c490c

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, rustPlatform { stdenv, lib, fetchFromGitHub, rustPlatform
, openssl, pkgconfig, protobuf , openssl, pkg-config, protobuf
, Security, libiconv, rdkafka , Security, libiconv, rdkafka
, features ? , features ?
@ -10,20 +10,17 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "vector"; pname = "vector";
version = "0.7.1"; version = "0.7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "timberio"; owner = "timberio";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "v${version}";
sha256 = "1bqp1ms8y91mpcmxlc8kyncigxq7spxq1ygy6gviz35zq1cqkwnr"; sha256 = "1r6pqljrl0cqz5x09p6bmf4h52h8m02pg05a09idj86v0c0q6bw3";
}; };
# Delete this on next update; see #79975 for details cargoSha256 = "1c742g7a4z5lhr991hxdhwk8h0d43r4vv5bxj80sf3lynyx60yzf";
legacyCargoFetcher = true; buildInputs = [ openssl pkg-config protobuf rdkafka ]
cargoSha256 = "01hynn8ccpwqrirr1bczqc7q7pqkzfjks2v6q4f32xbm50b31fky";
buildInputs = [ openssl pkgconfig protobuf rdkafka ]
++ stdenv.lib.optional stdenv.isDarwin [ Security libiconv ]; ++ stdenv.lib.optional stdenv.isDarwin [ Security libiconv ];
# needed for internal protobuf c wrapper library # needed for internal protobuf c wrapper library
@ -31,7 +28,8 @@ rustPlatform.buildRustPackage rec {
PROTOC_INCLUDE="${protobuf}/include"; PROTOC_INCLUDE="${protobuf}/include";
cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ]; cargoBuildFlags = [ "--no-default-features" "--features" "${lib.concatStringsSep "," features}" ];
checkPhase = ":"; # skip tests, too -- they don't respect the rdkafka flag... # skip tests, too -- they don't respect the rdkafka flag...
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "A high-performance logs, metrics, and events router"; description = "A high-performance logs, metrics, and events router";