Merge pull request #99250 from yorickvP/victoriametrics-auto-test

victoriametrics: add passthru.tests
This commit is contained in:
Mario Rodas 2020-10-01 20:18:22 -05:00 committed by GitHub
commit cbf2b8880b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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";