Merge pull request #65821 from WilliButz/update-loki
grafana-loki: 0.1.0 -> 0.2.0
This commit is contained in:
commit
0d0705b163
1 changed files with 12 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub, makeWrapper, systemd }:
|
||||
|
||||
buildGoPackage rec {
|
||||
version = "0.1.0";
|
||||
version = "0.2.0";
|
||||
name = "grafana-loki-${version}";
|
||||
goPackagePath = "github.com/grafana/loki";
|
||||
|
||||
|
@ -11,13 +11,21 @@ buildGoPackage rec {
|
|||
rev = "v${version}";
|
||||
owner = "grafana";
|
||||
repo = "loki";
|
||||
sha256 = "18iysr8p84vd1sdjdnpc9cydd5rpw0azdjzpz8yjqhscqw9gk4w2";
|
||||
sha256 = "1f4g5qiarhsa1r7vdx1z30zpqlypd4cf5anj4jp6nc9q6zmjwk91";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
buildInputs = [ systemd.dev ];
|
||||
|
||||
preFixup = ''
|
||||
wrapProgram $bin/bin/promtail \
|
||||
--prefix LD_LIBRARY_PATH : "${systemd.lib}/lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Like Prometheus, but for logs.";
|
||||
license = licenses.asl20;
|
||||
homepage = https://grafana.com/loki;
|
||||
homepage = "https://grafana.com/loki";
|
||||
maintainers = with maintainers; [ willibutz ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue