2014-03-24 21:05:28 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, jre }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "seyren";
|
2020-01-17 11:47:56 +01:00
|
|
|
version = "1.5.0";
|
2014-03-24 21:05:28 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/scobal/seyren/releases/download/${version}/seyren-${version}.jar";
|
2020-01-17 11:47:56 +01:00
|
|
|
sha256 = "1fixij04n8hgmaj8kw8i6vclwyd6n94x0n6ify73ynm6dfv8g37x";
|
2014-03-24 21:05:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = ["installPhase"];
|
|
|
|
|
2014-11-28 18:40:19 +01:00
|
|
|
buildInputs = [ makeWrapper jre ];
|
2014-03-24 21:05:28 +01:00
|
|
|
|
|
|
|
installPhase = ''
|
2014-06-30 14:56:10 +02:00
|
|
|
mkdir -p "$out"/bin
|
2014-03-24 21:05:28 +01:00
|
|
|
makeWrapper "${jre}/bin/java" "$out"/bin/seyren --add-flags "-jar $src"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "An alerting dashboard for Graphite";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/scobal/seyren";
|
2014-03-24 21:05:28 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = [ maintainers.offline ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|