diff options
author | WilliButz <wbutz@cyberfnord.de> | 2019-03-01 08:18:57 +0100 |
---|---|---|
committer | WilliButz <wbutz@cyberfnord.de> | 2019-06-04 01:50:34 +0200 |
commit | 25b2a5eba686db0aed1f082fc2395837b56cc3a8 (patch) | |
tree | 78834a5ad10e0b08c5f13587bb3ff9bb4dcb0c08 /pkgs/servers/monitoring/loki | |
parent | 0822701ffde8f50383bd1be069a7ae68e6688120 (diff) |
grafana-loki: init at 0.1.0
Diffstat (limited to 'pkgs/servers/monitoring/loki')
-rw-r--r-- | pkgs/servers/monitoring/loki/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/loki/default.nix b/pkgs/servers/monitoring/loki/default.nix new file mode 100644 index 0000000000000..63bded64a36e5 --- /dev/null +++ b/pkgs/servers/monitoring/loki/default.nix @@ -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; + }; +} |