mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gbenchmark";
|
pname = "gbenchmark";
|
||||||
@ -25,6 +31,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
passthru.tests = {
|
||||||
|
inherit prometheus-cpp;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A microbenchmark support library";
|
description = "A microbenchmark support library";
|
||||||
homepage = "https://github.com/google/benchmark";
|
homepage = "https://github.com/google/benchmark";
|
||||||
|
Loading…
Reference in New Issue
Block a user