mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Merge pull request #62641 from WilliButz/package-loki
grafana-loki: init at 0.1.0
This commit is contained in:
commit
6f608121cb
24
pkgs/servers/monitoring/loki/default.nix
Normal file
24
pkgs/servers/monitoring/loki/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "grafana-loki-${version}";
|
||||
goPackagePath = "github.com/grafana/loki";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
rev = "v${version}";
|
||||
owner = "grafana";
|
||||
repo = "loki";
|
||||
sha256 = "18iysr8p84vd1sdjdnpc9cydd5rpw0azdjzpz8yjqhscqw9gk4w2";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Like Prometheus, but for logs.";
|
||||
license = licenses.asl20;
|
||||
homepage = https://grafana.com/loki;
|
||||
maintainers = with maintainers; [ willibutz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
|
@ -14196,6 +14196,8 @@ in
|
|||
|
||||
grafana = callPackage ../servers/monitoring/grafana { };
|
||||
|
||||
grafana-loki = callPackage ../servers/monitoring/loki { };
|
||||
|
||||
grafana_reporter = callPackage ../servers/monitoring/grafana-reporter { };
|
||||
|
||||
h2o = callPackage ../servers/http/h2o { };
|
||||
|
|
Loading…
Reference in a new issue