mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
gbenchmark: add prometheus-cpp as reverse dependency to passthru.tests
This commit is contained in:
parent
9887b5f829
commit
94ddacc61c
@ -1,4 +1,10 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, gtest }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, gtest
|
||||
, prometheus-cpp
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gbenchmark";
|
||||
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user