victoriametrics: add passthru.tests

This commit is contained in:
Yorick van Pelt 2020-10-01 11:57:23 +02:00
parent 302ef60620
commit 1ef22a5d1f
No known key found for this signature in database
GPG Key ID: A36E70F9DC014A15

View File

@ -1,4 +1,4 @@
{ lib, buildGoPackage, fetchFromGitHub }:
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
buildGoPackage rec {
pname = "VictoriaMetrics";
@ -15,6 +15,8 @@ buildGoPackage rec {
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
passthru.tests = { inherit (nixosTests) victoriametrics; };
meta = with lib; {
homepage = "https://victoriametrics.com/";
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";