nixpkgs/pkgs/servers/nosql/victoriametrics/default.nix

23 lines
610 B
Nix
Raw Normal View History

2020-04-12 10:20:00 +01:00
{ lib, buildGoPackage, fetchFromGitHub }:
2020-01-19 17:55:36 +00:00
2020-04-12 10:20:00 +01:00
buildGoPackage rec {
2020-01-19 17:55:36 +00:00
pname = "VictoriaMetrics";
2020-06-08 13:51:18 +01:00
version = "1.37.0";
2020-01-19 17:55:36 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2020-06-08 13:51:18 +01:00
sha256 = "0p8fk73ydnhrdxgxr4b4xl84729rkkki38227xvxspx84j2fbhci";
2020-01-19 17:55:36 +00:00
};
2020-04-12 10:20:00 +01:00
goPackagePath = "github.com/VictoriaMetrics/VictoriaMetrics";
meta = with lib; {
2020-01-19 17:55:36 +00:00
homepage = "https://victoriametrics.com/";
description = "fast, cost-effective and scalable time series database, long-term remote storage for Prometheus";
license = licenses.asl20;
maintainers = [ maintainers.yorickvp ];
};
}