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

23 lines
610 B
Nix
Raw Normal View History

2020-04-12 09:20:00 +00:00
{ lib, buildGoPackage, fetchFromGitHub }:
2020-01-19 17:55:36 +00:00
2020-04-12 09:20:00 +00:00
buildGoPackage rec {
2020-01-19 17:55:36 +00:00
pname = "VictoriaMetrics";
2020-04-12 09:20:00 +00:00
version = "1.34.7";
2020-01-19 17:55:36 +00:00
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
2020-04-12 09:20:00 +00:00
sha256 = "0k4l3nq1d6f5qjx8svgga0ygv9mmhykvs3n3xr824ih6d0vrkzbg";
2020-01-19 17:55:36 +00:00
};
2020-04-12 09:20:00 +00: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 ];
};
}