Unverified Commit ead02ae2 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #183141 from r-ryantm/auto-update/gbenchmark

gbenchmark: 1.6.1 -> 1.7.1
parents e7213ba0 94ddacc6
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub, cmake, gtest }:
{ lib
, stdenv
, fetchFromGitHub
, cmake
, gtest
, prometheus-cpp
}:

stdenv.mkDerivation rec {
  pname = "gbenchmark";
  version = "1.6.1";
  version = "1.7.1";

  src = fetchFromGitHub {
    owner = "google";
    repo = "benchmark";
    rev = "v${version}";
    sha256 = "sha256-yUiFxi80FWBmTZgqmqTMf9oqcBeg3o4I4vKd4djyRWY=";
    sha256 = "sha256-gg3g/0Ki29FnGqKv9lDTs5oA9NjH23qQ+hTdVtSU+zo=";
  };

  nativeBuildInputs = [ cmake ];
@@ -25,6 +31,10 @@ stdenv.mkDerivation rec {

  doCheck = true;

  passthru.tests = {
    inherit prometheus-cpp;
  };

  meta = with lib; {
    description = "A microbenchmark support library";
    homepage = "https://github.com/google/benchmark";