diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-07-28 12:01:16 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-28 12:01:16 +0000 |
commit | a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243 (patch) | |
tree | 4df0a4239ef144053e491b8904ec194dc8e57d3d /pkgs/tools/misc | |
parent | 86197a8023b233a84be08d43ac933688fcbd057e (diff) | |
parent | d0796a6c6779bda9addfccc07f00565e8c9a897c (diff) | |
download | nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar.gz nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar.bz2 nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar.lz nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar.xz nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.tar.zst nixpkgs-a1d3be1d4226b7312ce6a8aa8e96a0cdbbf74243.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/android-tools/default.nix | 17 | ||||
-rw-r--r-- | pkgs/tools/misc/vector/default.nix | 6 |
2 files changed, 17 insertions, 6 deletions
diff --git a/pkgs/tools/misc/android-tools/default.nix b/pkgs/tools/misc/android-tools/default.nix index 1654b008aa5..b18366b057f 100644 --- a/pkgs/tools/misc/android-tools/default.nix +++ b/pkgs/tools/misc/android-tools/default.nix @@ -1,6 +1,6 @@ -{ lib, stdenv, fetchurl +{ lib, stdenv, fetchurl, fetchpatch , cmake, perl, go -, protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2 +, protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2, fmt_7 }: stdenv.mkDerivation rec { @@ -12,8 +12,19 @@ stdenv.mkDerivation rec { sha256 = "sha256-YbO/bCQMsLTQzP72lsVZhuBmV4Q2J9+VD9z2iBrw+NQ="; }; + patches = [ + # fmt 8 breaks the build but we can use fmt 7 from Nixpkgs: + (fetchpatch { + # Vendor google's version of fmtlib + url = "https://github.com/nmeum/android-tools/commit/21061c1dfb006c22304053c1f6f9e48ae4cbe25a.patch"; + sha256 = "17mcsgfc3i8xq4hck0ppnzafh15aljxy7j2q4djcmwnvrkv9kx3s"; + revert = true; + excludes = [ "vendor/fmtlib" ]; + }) + ]; + nativeBuildInputs = [ cmake perl go ]; - buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 ]; + buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 fmt_7 ]; # Don't try to fetch any Go modules via the network: GOFLAGS = [ "-mod=vendor" ]; diff --git a/pkgs/tools/misc/vector/default.nix b/pkgs/tools/misc/vector/default.nix index d9e454d4ab8..71f2ad3e955 100644 --- a/pkgs/tools/misc/vector/default.nix +++ b/pkgs/tools/misc/vector/default.nix @@ -28,16 +28,16 @@ rustPlatform.buildRustPackage rec { pname = "vector"; - version = "0.15.0"; + version = "0.15.1"; src = fetchFromGitHub { owner = "timberio"; repo = pname; rev = "v${version}"; - sha256 = "sha256-8ZsZyV6zlMiNTVYPwqQi7F1OJ4hV33IqrrGkvUb8JaY="; + sha256 = "sha256-9Q0jRh8nlgiWslmlFAth8eff+hir5gIT8YL898FMSqk="; }; - cargoSha256 = "sha256-t6KeyBwIfCQTfaennFiFX3K+8unFOsduBP7nRbAo9wI="; + cargoSha256 = "sha256-DFFA6t+ZgpGieq5kT80PW5ZSByIp54ia2UvcBYY2+Lg="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ oniguruma openssl protobuf rdkafka zstd ] ++ lib.optional stdenv.isDarwin [ Security libiconv coreutils CoreServices ]; |