mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
Merge pull request #99250 from yorickvP/victoriametrics-auto-test
victoriametrics: add passthru.tests
This commit is contained in:
commit
cbf2b8880b
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoPackage, fetchFromGitHub, nixosTests }:
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "VictoriaMetrics";
|
pname = "VictoriaMetrics";
|
||||||
@ -15,6 +15,8 @@ buildGoPackage rec {
|
|||||||
|
|
||||||
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
|
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/lib/buildinfo.Version=${version}" ];
|
||||||
|
|
||||||
|
passthru.tests = { inherit (nixosTests) victoriametrics; };
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://victoriametrics.com/";
|
homepage = "https://victoriametrics.com/";
|
||||||
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
|
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
|
||||||
|
Loading…
Reference in New Issue
Block a user