mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Add seyren, an alerting dashboard for Graphite
This commit is contained in:
parent
4121f9d745
commit
72d8c4225b
28
pkgs/servers/monitoring/seyren/default.nix
Normal file
28
pkgs/servers/monitoring/seyren/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "seyren-${version}";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/scobal/seyren/releases/download/${version}/seyren-${version}.jar";
|
||||
sha256 = "14p97yzfyacvavfms8qs3q5515vpfkjlfvislbwrf7qa89xzz8x0";
|
||||
};
|
||||
|
||||
phases = ["installPhase"];
|
||||
|
||||
buildInputs = [ makeWrapper jre src ];
|
||||
|
||||
installPhase = ''
|
||||
ensureDir "$out"/bin
|
||||
makeWrapper "${jre}/bin/java" "$out"/bin/seyren --add-flags "-jar $src"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "An alerting dashboard for Graphite";
|
||||
homepage = https://github.com/scobal/seyren;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.offline ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -6486,6 +6486,8 @@ let
|
||||
|
||||
serfdom = callPackage ../servers/serfdom { };
|
||||
|
||||
seyren = callPackage ../servers/monitoring/seyren { };
|
||||
|
||||
shishi = callPackage ../servers/shishi { };
|
||||
|
||||
sipwitch = callPackage ../servers/sip/sipwitch { };
|
||||
|
Loading…
Reference in New Issue
Block a user